Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 128.5 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002024/0.002024, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.428/1.428, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2213/0.2213, allocations: 46.93 MB / 357.1 MB, free: 10.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 67.89 kB / 0.4909 GB, free: 7.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1216, allocations: 65.98 MB / 0.5554 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001783/0.1234, allocations: 0.5047 MB / 0.5558 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003155/0.1237, allocations: 100.3 kB / 0.5559 GB, free: 5.223 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.416e-05/0.1237, allocations: 4 kB / 0.5559 GB, free: 5.219 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.102e-05/0.1237, allocations: 0 / 0.5559 GB, free: 5.219 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.653e-05/0.1237, allocations: 3.938 kB / 0.556 GB, free: 5.215 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.1239, allocations: 7.984 kB / 0.556 GB, free: 5.207 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.642e-05/0.124, allocations: 11.98 kB / 0.556 GB, free: 5.195 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.747e-05/0.124, allocations: 4 kB / 0.556 GB, free: 5.191 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.773e-05/0.124, allocations: 7.938 kB / 0.556 GB, free: 5.184 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.822e-05/0.1241, allocations: 7.984 kB / 0.556 GB, free: 5.176 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.1241, allocations: 0 / 0.556 GB, free: 5.176 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.243e-05/0.1242, allocations: 35.91 kB / 0.556 GB, free: 5.141 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.1242, allocations: 11.92 kB / 0.556 GB, free: 5.129 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.307e-05/0.1242, allocations: 7.984 kB / 0.556 GB, free: 5.121 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 9.115e-05/0.1243, allocations: 19.92 kB / 0.5561 GB, free: 5.102 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1243, allocations: 0 / 0.5561 GB, free: 5.102 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1243, allocations: 0 / 0.5561 GB, free: 5.102 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1243, allocations: 0 / 0.5561 GB, free: 5.102 MB / 414.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.0004167/0.1248, allocations: 335.4 kB / 0.5564 GB, free: 4.723 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1248, allocations: 12.02 kB / 0.5564 GB, free: 4.711 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.267e-05/0.1248, allocations: 34.75 kB / 0.5564 GB, free: 4.668 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.278e-05/0.1249, allocations: 8.938 kB / 0.5564 GB, free: 4.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.125, allocations: 164.4 kB / 0.5566 GB, free: 4.461 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-06/0.125, allocations: 384 / 0.5566 GB, free: 4.461 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.125, allocations: 4.375 kB / 0.5566 GB, free: 4.457 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.1251, allocations: 51.91 kB / 0.5566 GB, free: 4.395 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1251, allocations: 3.938 kB / 0.5567 GB, free: 4.391 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.1251, allocations: 4 kB / 0.5567 GB, free: 4.387 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1252, allocations: 0 / 0.5567 GB, free: 4.387 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.781e-05/0.1252, allocations: 19.98 kB / 0.5567 GB, free: 4.367 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.1255, allocations: 317.2 kB / 0.557 GB, free: 4.004 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.474e-05/0.1256, allocations: 26.45 kB / 0.557 GB, free: 3.969 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.962e-05/0.1256, allocations: 20.94 kB / 0.557 GB, free: 3.945 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.1256, allocations: 3.938 kB / 0.557 GB, free: 3.941 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.1257, allocations: 34.56 kB / 0.5571 GB, free: 3.898 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.041e-06/0.1257, allocations: 3.938 kB / 0.5571 GB, free: 3.895 MB / 414.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001793/0.1258, allocations: 57.64 kB / 0.5571 GB, free: 3.832 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.1259, allocations: 55.41 kB / 0.5572 GB, free: 3.766 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.125e-05/0.126, allocations: 93.8 kB / 0.5573 GB, free: 3.664 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.126, allocations: 29.7 kB / 0.5573 GB, free: 3.629 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.126, allocations: 88.12 kB / 0.5574 GB, free: 3.539 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.126, allocations: 15.83 kB / 0.5574 GB, free: 3.523 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.1261, allocations: 21.84 kB / 0.5574 GB, free: 3.496 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1262, allocations: 310.8 kB / 0.5577 GB, free: 3.184 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.799e-05/0.1263, allocations: 11.98 kB / 0.5577 GB, free: 3.172 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.947e-05/0.1263, allocations: 17.72 kB / 0.5577 GB, free: 3.148 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.522e-05/0.1263, allocations: 25.72 kB / 0.5578 GB, free: 3.117 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1263, allocations: 3.938 kB / 0.5578 GB, free: 3.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001067/0.1265, allocations: 61.62 kB / 0.5578 GB, free: 3.047 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.1265, allocations: 4 kB / 0.5578 GB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1265, allocations: 3.984 kB / 0.5578 GB, free: 3.039 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1265, allocations: 0 / 0.5578 GB, free: 3.039 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.459e-05/0.1265, allocations: 8 kB / 0.5578 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1266, allocations: 0 / 0.5578 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.69e-05/0.1266, allocations: 11.95 kB / 0.5578 GB, free: 3.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.1266, allocations: 240 / 0.5578 GB, free: 3.02 MB / 414.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 7.623e-05/0.1267, allocations: 113.7 kB / 0.558 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.1267, allocations: 8.031 kB / 0.558 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.1268, allocations: 65.34 kB / 0.558 GB, free: 2.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1268, allocations: 8 kB / 0.558 GB, free: 2.812 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1268, allocations: 0 / 0.558 GB, free: 2.812 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1268, allocations: 0 / 0.558 GB, free: 2.812 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.127, allocations: 157.6 kB / 0.5582 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.127, allocations: 0 / 0.5582 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.267e-05/0.1271, allocations: 8 kB / 0.5582 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1271, allocations: 0 / 0.5582 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.1271, allocations: 0 / 0.5582 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.1271, allocations: 7.938 kB / 0.5582 GB, free: 2.594 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.1271, allocations: 4 kB / 0.5582 GB, free: 2.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.1272, allocations: 151.5 kB / 0.5583 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.333e-05/0.1273, allocations: 85 kB / 0.5584 GB, free: 2.324 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-06/0.1273, allocations: 0 / 0.5584 GB, free: 2.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.409e-05/0.1273, allocations: 4 kB / 0.5584 GB, free: 2.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.809e-05/0.1274, allocations: 3.984 kB / 0.5584 GB, free: 2.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.1274, allocations: 0 / 0.5584 GB, free: 2.316 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.059e-05/0.1274, allocations: 91.22 kB / 0.5585 GB, free: 2.227 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1274, allocations: 0 / 0.5585 GB, free: 2.227 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002231/0.1276, allocations: 7.938 kB / 0.5585 GB, free: 2.219 MB / 414.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.0004796/0.1281, allocations: 0.6851 MB / 0.5592 GB, free: 1.504 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.1282, allocations: 24.08 kB / 0.5592 GB, free: 1.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1282, allocations: 0 / 0.5592 GB, free: 1.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.608e-05/0.1283, allocations: 19.94 kB / 0.5592 GB, free: 1.461 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.1285, allocations: 1.719 kB / 0.5592 GB, free: 1.461 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003907/0.1289, allocations: 138.7 kB / 0.5594 GB, free: 1.285 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.1292, allocations: 0.6768 MB / 0.56 GB, free: 0.582 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.352e-05/0.1292, allocations: 8.312 kB / 0.56 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.1292, allocations: 7.438 kB / 0.56 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1292, allocations: 0 / 0.56 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02468/0.1539, allocations: 1.31 MB / 0.5613 GB, free: 15.36 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.834/7.988, allocations: 7.266 kB / 0.5613 GB, free: 15.36 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.877174765104428]