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.0008028/0.0008028, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.00078/0.00078, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8561/0.8561, allocations: 177.1 MB / 204.2 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2256/0.2256, allocations: 34.25 MB / 294.9 MB, free: 0.7188 MB / 266.7 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 1.403e-06/1.403e-06, allocations: 0 / 442.1 MB, free: 1.695 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.245e-05/1.386e-05, allocations: 4.25 kB / 442.1 MB, free: 1.691 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0009154/0.0009293, allocations: 0.5011 MB / 442.7 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002071/0.001136, allocations: 87.73 kB / 442.7 MB, free: 1.105 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.905e-05/0.001155, allocations: 0 / 442.7 MB, free: 1.105 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.401e-05/0.001169, allocations: 3.938 kB / 442.7 MB, free: 1.102 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.826e-05/0.001188, allocations: 0 / 442.7 MB, free: 1.102 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.001354, allocations: 19.91 kB / 442.8 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.796e-05/0.001402, allocations: 19.92 kB / 442.8 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.586e-05/0.001438, allocations: 4 kB / 442.8 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.431e-05/0.001482, allocations: 7.984 kB / 442.8 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.855e-05/0.001521, allocations: 3.938 kB / 442.8 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.001533, allocations: 4 kB / 442.8 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.225e-05/0.001596, allocations: 35.95 kB / 442.8 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.001607, allocations: 0 / 442.8 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.347e-05/0.001621, allocations: 3.984 kB / 442.8 MB, free: 1.004 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.219e-05/0.001703, allocations: 23.91 kB / 442.9 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.001705, allocations: 4 kB / 442.9 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.001706, allocations: 0 / 442.9 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.001709, allocations: 0 / 442.9 MB, free: 0.9766 MB / 410.7 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.0005008/0.00221, allocations: 258.3 kB / 443.1 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.002245, allocations: 12.03 kB / 443.1 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.587e-05/0.002271, allocations: 38.73 kB / 443.2 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.689e-05/0.002288, allocations: 0.9375 kB / 443.2 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.418e-05/0.002352, allocations: 105.8 kB / 443.3 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.002361, allocations: 384 / 443.3 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-06/0.002368, allocations: 384 / 443.3 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.921e-05/0.002467, allocations: 51.97 kB / 443.3 MB, free: 452 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.002473, allocations: 8.125 kB / 443.3 MB, free: 444 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.002481, allocations: 12.31 kB / 443.3 MB, free: 432 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.002486, allocations: 4.125 kB / 443.3 MB, free: 428 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.218e-05/0.002518, allocations: 8 kB / 443.4 MB, free: 420 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002265/0.002745, allocations: 292.2 kB / 443.6 MB, free: 80 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.974e-05/0.002785, allocations: 26.5 kB / 443.7 MB, free: 44 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.649e-05/0.002811, allocations: 12.86 kB / 443.7 MB, free: 28 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.002826, allocations: 4 kB / 443.7 MB, free: 24 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1517/0.1545, allocations: 38.31 kB / 443.7 MB, free: 44.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 2.936e-06/0.1545, allocations: 0 / 443.7 MB, free: 44.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002109/0.1547, allocations: 56.14 kB / 443.8 MB, free: 44.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/0.1547, allocations: 58.5 kB / 443.8 MB, free: 44.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.425e-05/0.1548, allocations: 99.25 kB / 443.9 MB, free: 44.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.531e-06/0.1548, allocations: 26.2 kB / 444 MB, free: 44.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.119e-05/0.1548, allocations: 80.64 kB / 444 MB, free: 43.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.135e-06/0.1548, allocations: 17.59 kB / 444 MB, free: 43.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.1548, allocations: 15.97 kB / 444.1 MB, free: 43.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.819e-05/0.1549, allocations: 314.8 kB / 444.4 MB, free: 43.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.552e-05/0.1549, allocations: 7.359 kB / 444.4 MB, free: 43.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.786e-05/0.1549, allocations: 26.69 kB / 444.4 MB, free: 43.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.608e-05/0.1549, allocations: 27.03 kB / 444.4 MB, free: 43.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1549, allocations: 2.531 kB / 444.4 MB, free: 43.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.09e-05/0.155, allocations: 57.88 kB / 444.5 MB, free: 43.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.155, allocations: 5.469 kB / 444.5 MB, free: 43.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.155, allocations: 3.203 kB / 444.5 MB, free: 43.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.155, allocations: 0 / 444.5 MB, free: 43.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.338e-05/0.1551, allocations: 12.31 kB / 444.5 MB, free: 43.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1551, allocations: 0.7188 kB / 444.5 MB, free: 43.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.49e-05/0.1551, allocations: 6.578 kB / 444.5 MB, free: 43.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.1551, allocations: 6.516 kB / 444.5 MB, free: 43.54 MB / 410.7 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 3.384e-05/0.1551, allocations: 112.9 kB / 444.6 MB, free: 43.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.1551, allocations: 6.531 kB / 444.6 MB, free: 43.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.511e-05/0.1552, allocations: 58.28 kB / 444.7 MB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1552, allocations: 2.688 kB / 444.7 MB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1552, allocations: 3.328 kB / 444.7 MB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1552, allocations: 0 / 444.7 MB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.945e-05/0.1553, allocations: 132.9 kB / 444.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1553, allocations: 3.938 kB / 444.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.06e-05/0.1553, allocations: 11.98 kB / 444.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.81e-07/0.1553, allocations: 0 / 444.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.1554, allocations: 0.5625 kB / 444.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1554, allocations: 3.094 kB / 444.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1554, allocations: 6.094 kB / 444.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.956e-05/0.1554, allocations: 152.9 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-06/0.1554, allocations: 3.938 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-06/0.1554, allocations: 5.656 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.555e-05/0.1555, allocations: 2.75 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-05/0.1555, allocations: 3.469 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-06/0.1555, allocations: 2.531 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.122e-05/0.1555, allocations: 78.03 kB / 445.1 MB, free: 43.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1555, allocations: 0 / 445.1 MB, free: 43.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001509/0.1556, allocations: 7.781 kB / 445.1 MB, free: 43.02 MB / 410.7 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.0001864/0.1558, allocations: 0.6901 MB / 445.8 MB, free: 42.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.698e-05/0.1559, allocations: 26.53 kB / 445.8 MB, free: 42.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.1559, allocations: 0 / 445.8 MB, free: 42.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.722e-05/0.1559, allocations: 11.53 kB / 445.8 MB, free: 42.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.1561, allocations: 5.828 kB / 445.8 MB, free: 42.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002791/0.1564, allocations: 141.7 kB / 446 MB, free: 42.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.074e-05/0.1564, allocations: 63 kB / 446 MB, free: 42.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.208e-05/0.1564, allocations: 6.562 kB / 446.1 MB, free: 42.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.1564, allocations: 15.39 kB / 446.1 MB, free: 42.15 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.1564, allocations: 0 / 446.1 MB, free: 42.15 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01305/0.1695, allocations: 1.941 MB / 448 MB, free: 41.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.437/6.607, allocations: 17.81 kB / 448 MB, free: 41.32 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins/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: 8.4459228515625]