Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001171/0.001171, allocations: 103.1 kB / 15.98 MB, free: 6.355 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.001191/0.001191, allocations: 189.2 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.1 MB / 222.8 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.316/0.316, allocations: 43.5 MB / 313.6 MB, free: 8.535 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001385, allocations: 59.91 kB / 382.2 MB, free: 8.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1237, allocations: 57.79 MB / 440 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001847/0.1256, allocations: 0.5697 MB / 440.6 MB, free: 14.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002947/0.1259, allocations: 97.34 kB / 440.7 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.369e-05/0.1259, allocations: 0 / 440.7 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.946e-05/0.126, allocations: 4 kB / 440.7 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.485e-05/0.126, allocations: 7.938 kB / 440.7 MB, free: 14.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.1262, allocations: 7.984 kB / 440.7 MB, free: 14.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.401e-05/0.1263, allocations: 8 kB / 440.7 MB, free: 14.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.8e-05/0.1263, allocations: 11.97 kB / 440.7 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.558e-05/0.1264, allocations: 0 / 440.7 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.948e-05/0.1264, allocations: 11.94 kB / 440.7 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.1265, allocations: 0 / 440.7 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.794e-05/0.1266, allocations: 35.95 kB / 440.8 MB, free: 13.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.046e-05/0.1266, allocations: 0 / 440.8 MB, free: 13.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.558e-05/0.1266, allocations: 7.938 kB / 440.8 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.1267, allocations: 31.95 kB / 440.8 MB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1267, allocations: 0 / 440.8 MB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1267, allocations: 0 / 440.8 MB, free: 13.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.1267, allocations: 0 / 440.8 MB, free: 13.95 MB / 382.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.0004382/0.1272, allocations: 331.4 kB / 441.1 MB, free: 13.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.1272, allocations: 15.89 kB / 441.1 MB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.1273, allocations: 0.9375 kB / 441.1 MB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.1274, allocations: 164.6 kB / 441.3 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-06/0.1274, allocations: 8.375 kB / 441.3 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.1275, allocations: 4.375 kB / 441.3 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.1276, allocations: 55.91 kB / 441.4 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.1276, allocations: 192 / 441.4 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1276, allocations: 7.922 kB / 441.4 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.1276, allocations: 0 / 441.4 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.88e-05/0.1277, allocations: 15.94 kB / 441.4 MB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003211/0.128, allocations: 321.1 kB / 441.7 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.84e-05/0.1281, allocations: 26.55 kB / 441.7 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.862e-05/0.1281, allocations: 16.86 kB / 441.7 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.1281, allocations: 3.938 kB / 441.7 MB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.1282, allocations: 30.56 kB / 441.8 MB, free: 12.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 2.885e-06/0.1282, allocations: 3.984 kB / 441.8 MB, free: 12.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002059/0.1284, allocations: 65.62 kB / 441.8 MB, free: 12.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.1284, allocations: 51.41 kB / 441.9 MB, free: 12.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.806e-05/0.1285, allocations: 97.84 kB / 442 MB, free: 12.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.1285, allocations: 25.7 kB / 442 MB, free: 12.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.557e-05/0.1286, allocations: 84.14 kB / 442.1 MB, free: 12.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.074e-05/0.1286, allocations: 11.81 kB / 442.1 MB, free: 12.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.1287, allocations: 17.72 kB / 442.1 MB, free: 12.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1288, allocations: 319 kB / 442.4 MB, free: 12.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.668e-05/0.1288, allocations: 8 kB / 442.4 MB, free: 12.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.074e-05/0.1289, allocations: 21.66 kB / 442.5 MB, free: 12.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.557e-05/0.1289, allocations: 29.7 kB / 442.5 MB, free: 12.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1289, allocations: 0 / 442.5 MB, free: 12.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.758e-05/0.129, allocations: 57.56 kB / 442.5 MB, free: 11.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.129, allocations: 8 kB / 442.6 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.129, allocations: 4.156 kB / 442.6 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.1291, allocations: 0 / 442.6 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.24e-05/0.1291, allocations: 12 kB / 442.6 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.1292, allocations: 0 / 442.6 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.436e-05/0.1292, allocations: 7.938 kB / 442.6 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1292, allocations: 4 kB / 442.6 MB, free: 11.91 MB / 382.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 8.572e-05/0.1293, allocations: 113.8 kB / 442.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.1293, allocations: 7.906 kB / 442.7 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.1294, allocations: 61.12 kB / 442.8 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1295, allocations: 8 kB / 442.8 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1295, allocations: 3.938 kB / 442.8 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.1295, allocations: 0 / 442.8 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.1297, allocations: 157.6 kB / 442.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1297, allocations: 0 / 442.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.745e-05/0.1297, allocations: 8 kB / 442.9 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1297, allocations: 0 / 442.9 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.1297, allocations: 0 / 442.9 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1297, allocations: 0 / 442.9 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1297, allocations: 3.984 kB / 442.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.1299, allocations: 163.4 kB / 443.1 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.415e-05/0.1299, allocations: 81.09 kB / 443.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.1299, allocations: 0 / 443.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.513e-05/0.13, allocations: 0 / 443.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.13, allocations: 4 kB / 443.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.13, allocations: 0 / 443.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.341e-05/0.1301, allocations: 83.28 kB / 443.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1301, allocations: 96 / 443.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.1303, allocations: 8 kB / 443.3 MB, free: 11.12 MB / 382.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.0001289/0.1305, allocations: 107.1 kB / 443.4 MB, free: 11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001149/0.1306, allocations: 32.06 kB / 443.4 MB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1306, allocations: 0 / 443.4 MB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.797e-05/0.1306, allocations: 11.98 kB / 443.4 MB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.1308, allocations: 11.94 kB / 443.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002614/0.1311, allocations: 124.9 kB / 443.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.1314, allocations: 0.6807 MB / 444.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.398e-05/0.1314, allocations: 0 / 444.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.1315, allocations: 15.44 kB / 444.2 MB, free: 10.08 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1315, allocations: 3.938 kB / 444.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of Templates: time 0.002644/0.1341, allocations: 450.5 kB / 444.7 MB, free: 9.637 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches