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.0009128/0.0009128, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.0009034/0.0009034, allocations: 165.4 kB / 24.56 MB, free: 8 kB / 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.9109/0.9109, allocations: 177.1 MB / 205 MB, free: 5.277 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.2221/0.2221, allocations: 34.26 MB / 295.7 MB, free: 0.7227 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: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 378 MB, free: 2.703 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338e-05/1.47e-05, allocations: 9.406 kB / 378 MB, free: 2.695 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0009613/0.000976, allocations: 0.5126 MB / 378.5 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002271/0.001203, allocations: 91.72 kB / 378.6 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.988e-05/0.001223, allocations: 0 / 378.6 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.976e-05/0.001243, allocations: 4 kB / 378.6 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.944e-05/0.001262, allocations: 4 kB / 378.6 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.001453, allocations: 19.91 kB / 378.6 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.169e-05/0.001504, allocations: 11.98 kB / 378.7 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.143e-05/0.001536, allocations: 4 kB / 378.7 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.513e-05/0.001571, allocations: 7.938 kB / 378.7 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.047e-05/0.001611, allocations: 3.984 kB / 378.7 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.001625, allocations: 0 / 378.7 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.919e-05/0.001694, allocations: 31.97 kB / 378.7 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.001707, allocations: 3.984 kB / 378.7 MB, free: 2 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.636e-05/0.001724, allocations: 11.98 kB / 378.7 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 8.526e-05/0.001809, allocations: 23.91 kB / 378.7 MB, free: 1.965 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.001811, allocations: 0 / 378.7 MB, free: 1.965 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.11e-07/0.001811, allocations: 0 / 378.7 MB, free: 1.965 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.001815, allocations: 0 / 378.7 MB, free: 1.965 MB / 346.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.0003144/0.002129, allocations: 360.2 kB / 379.1 MB, free: 1.574 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.002163, allocations: 8.031 kB / 379.1 MB, free: 1.566 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.002199, allocations: 9.234 kB / 379.1 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.304e-05/0.002272, allocations: 108.6 kB / 379.2 MB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.002283, allocations: 4.375 kB / 379.2 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.002291, allocations: 8.359 kB / 379.2 MB, free: 1.414 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.002398, allocations: 74.27 kB / 379.3 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.002404, allocations: 192 / 379.3 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.002413, allocations: 384 / 379.3 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.002421, allocations: 4.359 kB / 379.3 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.482e-05/0.002446, allocations: 11.94 kB / 379.3 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002449/0.002691, allocations: 374.7 kB / 379.7 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.959e-05/0.00274, allocations: 27.06 kB / 379.7 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.953e-05/0.00277, allocations: 23.77 kB / 379.7 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.002781, allocations: 4 kB / 379.7 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.002798, allocations: 33.39 kB / 379.8 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 6.42e-07/0.002799, allocations: 0 / 379.8 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001366/0.002936, allocations: 57.56 kB / 379.8 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.002959, allocations: 55.41 kB / 379.9 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.519e-05/0.003034, allocations: 149.9 kB / 380 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.003043, allocations: 29.7 kB / 380.1 MB, free: 472 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.746e-05/0.00308, allocations: 138.8 kB / 380.2 MB, free: 328 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.879e-06/0.00309, allocations: 15.83 kB / 380.2 MB, free: 312 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.003115, allocations: 23.38 kB / 380.2 MB, free: 280 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.003249, allocations: 0.4885 MB / 380.7 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.259e-05/0.003262, allocations: 4 kB / 380.7 MB, free: 15.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.915e-05/0.003281, allocations: 27.36 kB / 380.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.51e-05/0.003316, allocations: 31.31 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.003318, allocations: 0 / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.811e-05/0.003376, allocations: 53.69 kB / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.003386, allocations: 4 kB / 380.8 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.003391, allocations: 3.938 kB / 380.8 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.003402, allocations: 3.938 kB / 380.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.065e-05/0.003453, allocations: 19.95 kB / 380.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.003457, allocations: 0 / 380.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.711e-05/0.003475, allocations: 12.12 kB / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.00348, allocations: 0 / 380.9 MB, free: 15.59 MB / 362.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 5.31e-05/0.003533, allocations: 156.6 kB / 381 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/0.003547, allocations: 3.953 kB / 381 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.257e-05/0.003629, allocations: 61.31 kB / 381.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.003631, allocations: 0 / 381.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.003634, allocations: 3.938 kB / 381.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.003638, allocations: 3.984 kB / 381.1 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.003782, allocations: 116.6 kB / 381.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.22e-07/0.003783, allocations: 0 / 381.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.942e-05/0.003802, allocations: 8.234 kB / 381.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.003804, allocations: 0 / 381.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.00381, allocations: 4 kB / 381.2 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.003811, allocations: 7.938 kB / 381.2 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.003812, allocations: 0 / 381.2 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.023e-05/0.003892, allocations: 195.9 kB / 381.4 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-06/0.003898, allocations: 8 kB / 381.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.066e-06/0.003906, allocations: 3.984 kB / 381.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.5e-05/0.003931, allocations: 7.938 kB / 381.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.003958, allocations: 4 kB / 381.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.00396, allocations: 3.938 kB / 381.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.569e-05/0.003985, allocations: 119.2 kB / 381.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003985, allocations: 0 / 381.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001447/0.00413, allocations: 12 kB / 381.6 MB, free: 14.82 MB / 362.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 8.682e-05/0.004217, allocations: 103.2 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.723e-05/0.004294, allocations: 27.67 kB / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.004295, allocations: 4 kB / 381.7 MB, free: 14.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.935e-05/0.004315, allocations: 27.91 kB / 381.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.004456, allocations: 0 / 381.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001827/0.004639, allocations: 130.2 kB / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.281e-05/0.004672, allocations: 59.34 kB / 381.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.587e-05/0.004688, allocations: 0 / 381.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/0.004711, allocations: 16.44 kB / 381.9 MB, free: 14.39 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.004712, allocations: 4 kB / 381.9 MB, free: 14.39 MB / 362.7 MB Notification: Performance of Templates: time 0.001922/0.006634, allocations: 0.4997 MB / 382.4 MB, free: 13.89 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 240] 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","",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.6674073659814894]