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.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.003393/0.003393, allocations: 76.17 kB / 9.93 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001855/0.005248, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.00121/0.00121, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0016/0.00281, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9693/0.9693, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09941/1.069, allocations: 53.67 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2869/0.2869, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02442/0.3113, allocations: 12.53 MB / 289.3 MB, free: 8.68 MB / 282.7 MB " [Timeout remaining time 180] 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.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: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 290.6 MB, free: 7.676 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.406e-06/1.006e-05, allocations: 2.312 kB / 290.6 MB, free: 7.672 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0009713/0.0009814, allocations: 0.5561 MB / 291.1 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001649/0.001146, allocations: 97.38 kB / 291.2 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.957e-05/0.001166, allocations: 0 / 291.2 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.961e-06/0.001172, allocations: 3.938 kB / 291.2 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.202e-06/0.001178, allocations: 1.188 kB / 291.2 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.818e-05/0.001276, allocations: 14.56 kB / 291.3 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.408e-05/0.00135, allocations: 10.89 kB / 291.3 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.177e-05/0.001402, allocations: 1.312 kB / 291.3 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.386e-05/0.001486, allocations: 20.89 kB / 291.3 MB, free: 7.141 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.861e-05/0.001544, allocations: 6.188 kB / 291.3 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.001563, allocations: 1.656 kB / 291.3 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.001681, allocations: 32.78 kB / 291.3 MB, free: 7.121 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.2e-05/0.001693, allocations: 1.188 kB / 291.3 MB, free: 7.121 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.53e-05/0.001708, allocations: 2.781 kB / 291.3 MB, free: 7.121 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.001833, allocations: 31.2 kB / 291.4 MB, free: 7.102 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.806e-05/0.001851, allocations: 0 / 291.4 MB, free: 7.102 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.001852, allocations: 1.594 kB / 291.4 MB, free: 7.102 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.001868, allocations: 0 / 291.4 MB, free: 7.102 MB / 282.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.0003855/0.002253, allocations: 231.8 kB / 291.6 MB, free: 6.863 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.002286, allocations: 9 kB / 291.6 MB, free: 6.863 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.002312, allocations: 6.375 kB / 291.6 MB, free: 6.859 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.829e-05/0.002401, allocations: 104.5 kB / 291.7 MB, free: 6.734 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.002412, allocations: 1.75 kB / 291.7 MB, free: 6.734 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.002421, allocations: 1.406 kB / 291.7 MB, free: 6.734 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.002533, allocations: 72.75 kB / 291.8 MB, free: 6.656 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.002539, allocations: 192 / 291.8 MB, free: 6.656 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.002546, allocations: 384 / 291.8 MB, free: 6.656 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.002551, allocations: 1.469 kB / 291.8 MB, free: 6.656 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.273e-05/0.002573, allocations: 18.3 kB / 291.8 MB, free: 6.645 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002623/0.002836, allocations: 233.9 kB / 292 MB, free: 6.406 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.699e-05/0.002883, allocations: 30.97 kB / 292.1 MB, free: 6.371 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.559e-05/0.002908, allocations: 10.83 kB / 292.1 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.002922, allocations: 0 / 292.1 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.00294, allocations: 31.88 kB / 292.1 MB, free: 6.324 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 5.61e-07/0.00294, allocations: 0 / 292.1 MB, free: 6.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.000105/0.003045, allocations: 46.78 kB / 292.2 MB, free: 6.285 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.003081, allocations: 60.31 kB / 292.2 MB, free: 6.215 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.057e-05/0.003141, allocations: 106.3 kB / 292.3 MB, free: 6.102 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.00315, allocations: 29.7 kB / 292.3 MB, free: 6.066 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.003188, allocations: 85.44 kB / 292.4 MB, free: 5.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.003203, allocations: 13.28 kB / 292.4 MB, free: 5.969 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.003226, allocations: 18.28 kB / 292.5 MB, free: 5.949 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.93e-05/0.003295, allocations: 316.1 kB / 292.8 MB, free: 5.633 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271e-05/0.003308, allocations: 8.047 kB / 292.8 MB, free: 5.629 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.571e-05/0.003324, allocations: 14.47 kB / 292.8 MB, free: 5.613 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.298e-05/0.003357, allocations: 23.08 kB / 292.8 MB, free: 5.594 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.003359, allocations: 128 / 292.8 MB, free: 5.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.13e-05/0.00341, allocations: 52.09 kB / 292.9 MB, free: 5.551 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.003422, allocations: 4.344 kB / 292.9 MB, free: 5.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.003427, allocations: 1.625 kB / 292.9 MB, free: 5.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.003435, allocations: 0 / 292.9 MB, free: 5.551 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.466e-05/0.00349, allocations: 12.5 kB / 292.9 MB, free: 5.547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.003493, allocations: 1.125 kB / 292.9 MB, free: 5.547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.294e-05/0.003506, allocations: 1.25 kB / 292.9 MB, free: 5.547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.003516, allocations: 13.2 kB / 292.9 MB, free: 5.535 MB / 282.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 0.0001235/0.003639, allocations: 106.8 kB / 293 MB, free: 5.422 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.003651, allocations: 6.938 kB / 293 MB, free: 5.418 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.003768, allocations: 52.72 kB / 293.1 MB, free: 5.375 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.003771, allocations: 0 / 293.1 MB, free: 5.375 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.003774, allocations: 5.281 kB / 293.1 MB, free: 5.371 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.003777, allocations: 0 / 293.1 MB, free: 5.371 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.553e-05/0.003872, allocations: 79.23 kB / 293.1 MB, free: 5.281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.003873, allocations: 1.188 kB / 293.1 MB, free: 5.281 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.794e-05/0.003911, allocations: 8.094 kB / 293.1 MB, free: 5.281 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-06/0.003917, allocations: 1.438 kB / 293.2 MB, free: 5.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.003919, allocations: 0 / 293.2 MB, free: 5.281 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-06/0.003923, allocations: 5.438 kB / 293.2 MB, free: 5.277 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.003925, allocations: 4 kB / 293.2 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.003927, allocations: 3.938 kB / 293.2 MB, free: 5.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.618e-05/0.004003, allocations: 138.8 kB / 293.3 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.004013, allocations: 4.969 kB / 293.3 MB, free: 5.129 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.543e-05/0.004038, allocations: 5 kB / 293.3 MB, free: 5.125 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-05/0.004062, allocations: 1.344 kB / 293.3 MB, free: 5.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.004065, allocations: 1.156 kB / 293.3 MB, free: 5.125 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.397e-05/0.004079, allocations: 9.797 kB / 293.3 MB, free: 5.113 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004079, allocations: 1.469 kB / 293.3 MB, free: 5.113 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001655/0.004245, allocations: 8.062 kB / 293.3 MB, free: 5.109 MB / 282.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.0001254/0.00437, allocations: 89.34 kB / 293.4 MB, free: 5.027 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.546e-05/0.004455, allocations: 26.28 kB / 293.4 MB, free: 5.012 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/0.004464, allocations: 1.125 kB / 293.4 MB, free: 5.012 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.094e-05/0.004485, allocations: 17.53 kB / 293.5 MB, free: 5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001057/0.00459, allocations: 6.844 kB / 293.5 MB, free: 4.996 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001881/0.004778, allocations: 118.4 kB / 293.6 MB, free: 4.875 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.376e-05/0.004812, allocations: 58.88 kB / 293.6 MB, free: 4.801 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.966e-05/0.004832, allocations: 5.562 kB / 293.6 MB, free: 4.797 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.496e-05/0.004867, allocations: 55.61 kB / 293.7 MB, free: 4.746 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.004867, allocations: 0 / 293.7 MB, free: 4.746 MB / 282.7 MB Notification: Performance of Templates: time 0.001938/0.006806, allocations: 0.5067 MB / 294.2 MB, free: 4.43 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.700260334648192]