Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001103/0.001103, allocations: 87.67 kB / 21.2 MB, free: 3.367 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009771/0.0009771, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9067/0.9067, allocations: 177 MB / 204.8 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2305/0.2305, allocations: 34.86 MB / 296.3 MB, free: 0.543 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 378.7 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.768e-05/1.897e-05, allocations: 6.25 kB / 378.7 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0009494/0.0009683, allocations: 0.5103 MB / 379.3 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002248/0.001193, allocations: 91.73 kB / 379.3 MB, free: 1.508 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.801e-05/0.001211, allocations: 4 kB / 379.4 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.559e-05/0.001227, allocations: 0 / 379.4 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.952e-05/0.001246, allocations: 0 / 379.4 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.00143, allocations: 15.91 kB / 379.4 MB, free: 1.488 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.665e-05/0.001486, allocations: 15.98 kB / 379.4 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.472e-05/0.001521, allocations: 3.984 kB / 379.4 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.722e-05/0.001558, allocations: 11.94 kB / 379.4 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.323e-05/0.001601, allocations: 7.984 kB / 379.4 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.001615, allocations: 0 / 379.4 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.743e-05/0.001682, allocations: 27.97 kB / 379.4 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.001695, allocations: 4 kB / 379.4 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.495e-05/0.00171, allocations: 0 / 379.4 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 9.362e-05/0.001804, allocations: 43.81 kB / 379.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.001806, allocations: 0 / 379.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.001806, allocations: 0 / 379.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.00181, allocations: 0 / 379.5 MB, free: 1.375 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.002124, allocations: 356.3 kB / 379.8 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.00216, allocations: 8.031 kB / 379.8 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.002191, allocations: 5.234 kB / 379.8 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.94e-05/0.002261, allocations: 112.6 kB / 380 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-06/0.002269, allocations: 4.375 kB / 380 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.002278, allocations: 4.375 kB / 380 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.002386, allocations: 70.33 kB / 380 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.002392, allocations: 192 / 380 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.0024, allocations: 4.375 kB / 380 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.002408, allocations: 4.359 kB / 380 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.611e-05/0.002434, allocations: 19.86 kB / 380.1 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002551/0.002689, allocations: 366.8 kB / 380.4 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.018e-05/0.002729, allocations: 31.06 kB / 380.4 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.589e-05/0.002755, allocations: 15.69 kB / 380.5 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.002767, allocations: 0 / 380.5 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.002785, allocations: 37.39 kB / 380.5 MB, free: 216 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 6.81e-07/0.002785, allocations: 0 / 380.5 MB, free: 216 kB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001188/0.002904, allocations: 57.66 kB / 380.6 MB, free: 152 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.002931, allocations: 55.39 kB / 380.6 MB, free: 84 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.068e-05/0.003002, allocations: 157.9 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.003011, allocations: 25.7 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.003049, allocations: 130.8 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.136e-05/0.003061, allocations: 19.84 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/0.003085, allocations: 27.48 kB / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.003247, allocations: 496.1 kB / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.317e-05/0.00326, allocations: 8 kB / 381.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.986e-05/0.00328, allocations: 27.36 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.282e-05/0.003313, allocations: 31.31 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.003315, allocations: 0 / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.343e-05/0.003368, allocations: 61.56 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.00338, allocations: 8 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.003385, allocations: 3.938 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.003396, allocations: 4.031 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.627e-05/0.003442, allocations: 8 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.003446, allocations: 0 / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.204e-05/0.003458, allocations: 0 / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.003463, allocations: 4 kB / 381.6 MB, free: 15.02 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.113e-05/0.003514, allocations: 156.6 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.00353, allocations: 11.95 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.181e-05/0.003611, allocations: 61.25 kB / 381.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.003614, allocations: 4 kB / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.003616, allocations: 0 / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.003618, allocations: 4 kB / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.398e-05/0.003702, allocations: 120.6 kB / 381.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.003703, allocations: 0 / 381.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.983e-05/0.003723, allocations: 8 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.003724, allocations: 0 / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.003729, allocations: 0 / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.003731, allocations: 3.938 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.003731, allocations: 0 / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.299e-05/0.003824, allocations: 208.1 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-06/0.003829, allocations: 0 / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-06/0.003839, allocations: 4 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.574e-05/0.003865, allocations: 7.938 kB / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.003891, allocations: 4.219 kB / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.003894, allocations: 4 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.377e-05/0.003928, allocations: 123.2 kB / 382.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003928, allocations: 0 / 382.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001448/0.004073, allocations: 4 kB / 382.3 MB, free: 14.24 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.83e-05/0.004161, allocations: 99.19 kB / 382.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.598e-05/0.004237, allocations: 39.59 kB / 382.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.004239, allocations: 4.156 kB / 382.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.078e-05/0.004259, allocations: 19.67 kB / 382.5 MB, free: 14.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.004403, allocations: 11.94 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001857/0.004589, allocations: 118.3 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.062e-05/0.004619, allocations: 55.36 kB / 382.6 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.735e-05/0.004637, allocations: 3.906 kB / 382.6 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/0.004657, allocations: 20.48 kB / 382.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.004657, allocations: 0 / 382.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of Templates: time 0.002079/0.006736, allocations: 0.4976 MB / 383.2 MB, free: 13.32 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.5951338838785887]