Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.00123, allocations: 108.2 kB / 18.39 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 182.9 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 222.9 MB / 243 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2155/0.2155, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 69.78 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1341, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.00213/0.1363, allocations: 0.4948 MB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003325/0.1366, allocations: 103.6 kB / 471.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.454e-05/0.1366, allocations: 0 / 471.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.441e-05/0.1367, allocations: 0 / 471.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.656e-05/0.1367, allocations: 0 / 471.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.1369, allocations: 15.91 kB / 471.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.575e-05/0.137, allocations: 12 kB / 471.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.331e-05/0.1371, allocations: 4 kB / 471.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.388e-05/0.1371, allocations: 11.98 kB / 471.3 MB, free: 13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.423e-05/0.1372, allocations: 3.938 kB / 471.3 MB, free: 13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.1372, allocations: 4 kB / 471.3 MB, free: 13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.715e-05/0.1373, allocations: 35.95 kB / 471.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.1373, allocations: 3.984 kB / 471.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.1373, allocations: 3.938 kB / 471.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.1374, allocations: 23.97 kB / 471.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1374, allocations: 0 / 471.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1375, allocations: 0 / 471.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.1375, allocations: 4 kB / 471.4 MB, free: 12.93 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004367/0.1379, allocations: 331.5 kB / 471.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.138, allocations: 8.031 kB / 471.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.138, allocations: 4.938 kB / 471.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.1381, allocations: 164.3 kB / 471.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.1381, allocations: 4.375 kB / 471.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.1382, allocations: 4.375 kB / 471.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.1383, allocations: 55.97 kB / 472 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1383, allocations: 4.172 kB / 472 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.1383, allocations: 3.938 kB / 472 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1383, allocations: 0 / 472 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.778e-05/0.1384, allocations: 19.92 kB / 472 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003152/0.1387, allocations: 321 kB / 472.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.025e-05/0.1388, allocations: 30.55 kB / 472.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.546e-05/0.1388, allocations: 16.86 kB / 472.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.1388, allocations: 4 kB / 472.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.1389, allocations: 34.5 kB / 472.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.1389, allocations: 0 / 472.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001808/0.139, allocations: 53.78 kB / 472.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.1391, allocations: 51.41 kB / 472.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.155e-05/0.1392, allocations: 101.8 kB / 472.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.1392, allocations: 29.7 kB / 472.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.1392, allocations: 82.64 kB / 472.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.328e-05/0.1393, allocations: 15.8 kB / 472.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.1393, allocations: 17.72 kB / 472.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1394, allocations: 314.8 kB / 473.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.297e-05/0.1394, allocations: 11.94 kB / 473.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.475e-05/0.1395, allocations: 21.66 kB / 473.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.564e-05/0.1395, allocations: 37.83 kB / 473.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1395, allocations: 0 / 473.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.5e-05/0.1396, allocations: 57.56 kB / 473.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1397, allocations: 4 kB / 473.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1397, allocations: 4 kB / 473.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1397, allocations: 0 / 473.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.785e-05/0.1397, allocations: 4 kB / 473.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1398, allocations: 4 kB / 473.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.465e-05/0.1398, allocations: 15.88 kB / 473.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.1398, allocations: 0 / 473.2 MB, free: 10.89 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.945e-05/0.1399, allocations: 113.8 kB / 473.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.1399, allocations: 0 / 473.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.14, allocations: 69.11 kB / 473.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.14, allocations: 0 / 473.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.14, allocations: 0 / 473.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1401, allocations: 0 / 473.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.1402, allocations: 165.5 kB / 473.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1402, allocations: 4 kB / 473.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.581e-05/0.1403, allocations: 4 kB / 473.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.1403, allocations: 4 kB / 473.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.1403, allocations: 0 / 473.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1403, allocations: 0 / 473.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1403, allocations: 0 / 473.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.1404, allocations: 159.6 kB / 473.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/0.1405, allocations: 85.25 kB / 473.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.1405, allocations: 3.984 kB / 473.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.537e-05/0.1405, allocations: 4 kB / 473.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.02e-05/0.1406, allocations: 7.984 kB / 473.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.1406, allocations: 0 / 473.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.098e-05/0.1406, allocations: 79.28 kB / 473.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1406, allocations: 0 / 473.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002137/0.1408, allocations: 8 kB / 473.9 MB, free: 10.09 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001183/0.1409, allocations: 99.23 kB / 474 MB, free: 9.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001/0.1411, allocations: 32.03 kB / 474 MB, free: 9.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1411, allocations: 0 / 474 MB, free: 9.953 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.854e-05/0.1411, allocations: 11.98 kB / 474 MB, free: 9.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.1413, allocations: 11.22 kB / 474.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002619/0.1416, allocations: 108.9 kB / 474.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.1419, allocations: 0.6729 MB / 474.8 MB, free: 9.102 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.918e-05/0.1419, allocations: 15.98 kB / 474.8 MB, free: 9.086 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.841e-05/0.142, allocations: 7.438 kB / 474.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of SimCode: time 6.305e-05/0.142, allocations: 0 / 474.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of Templates: time 0.002473/0.1445, allocations: 464.3 kB / 475.3 MB, free: 8.625 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches