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.0009711/0.0009711, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009423/0.0009423, allocations: 160.5 kB / 24.55 MB, free: 16 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.9824/0.9824, allocations: 177 MB / 204.8 MB, free: 5.566 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.2898/0.2898, allocations: 34.86 MB / 296.3 MB, free: 0.5586 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.643e-06/1.643e-06, allocations: 0 / 378.7 MB, free: 2.121 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/2.029e-05, allocations: 4.844 kB / 378.7 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001035/0.001055, allocations: 0.5049 MB / 379.2 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002452/0.0013, allocations: 95.72 kB / 379.3 MB, free: 1.516 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.33e-05/0.001323, allocations: 0 / 379.3 MB, free: 1.516 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.743e-05/0.001341, allocations: 0 / 379.3 MB, free: 1.516 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.061e-05/0.001362, allocations: 0 / 379.3 MB, free: 1.516 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.001606, allocations: 19.92 kB / 379.4 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.206e-05/0.001668, allocations: 11.92 kB / 379.4 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.28e-05/0.001711, allocations: 0 / 379.4 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.205e-05/0.001753, allocations: 15.97 kB / 379.4 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.805e-05/0.001801, allocations: 8 kB / 379.4 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.001817, allocations: 0 / 379.4 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.935e-05/0.001897, allocations: 31.95 kB / 379.4 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.525e-05/0.001912, allocations: 0 / 379.4 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.073e-05/0.001933, allocations: 11.94 kB / 379.4 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.002035, allocations: 27.89 kB / 379.5 MB, free: 1.391 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.002038, allocations: 0 / 379.5 MB, free: 1.391 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.002038, allocations: 0 / 379.5 MB, free: 1.391 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.002043, allocations: 0 / 379.5 MB, free: 1.391 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.0003372/0.002381, allocations: 356.3 kB / 379.8 MB, free: 1.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.002421, allocations: 8.031 kB / 379.8 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.00246, allocations: 13.23 kB / 379.8 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.956e-05/0.002539, allocations: 108.6 kB / 379.9 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.002549, allocations: 4.312 kB / 379.9 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.002561, allocations: 12.36 kB / 380 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.002674, allocations: 70.33 kB / 380 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.002682, allocations: 192 / 380 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.002691, allocations: 384 / 380 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.002698, allocations: 384 / 380 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.567e-05/0.002723, allocations: 15.88 kB / 380 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002473/0.002971, allocations: 370.7 kB / 380.4 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.504e-05/0.003016, allocations: 35.09 kB / 380.4 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.724e-05/0.003043, allocations: 11.69 kB / 380.5 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.003059, allocations: 4 kB / 380.5 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.003078, allocations: 33.39 kB / 380.5 MB, free: 228 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.003079, allocations: 0 / 380.5 MB, free: 228 kB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001383/0.003217, allocations: 61.66 kB / 380.5 MB, free: 160 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.003246, allocations: 55.41 kB / 380.6 MB, free: 92 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.02e-05/0.003326, allocations: 157.9 kB / 380.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.003335, allocations: 29.83 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.003382, allocations: 134.8 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.062e-05/0.003393, allocations: 15.84 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.003422, allocations: 23.38 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.003531, allocations: 496.1 kB / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.633e-05/0.003547, allocations: 8 kB / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.31e-05/0.003571, allocations: 27.38 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.236e-05/0.003613, allocations: 35.3 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.003615, allocations: 0 / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.867e-05/0.003684, allocations: 61.62 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.003696, allocations: 4 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.003703, allocations: 3.938 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.003719, allocations: 0 / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.053e-05/0.003779, allocations: 8 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.003785, allocations: 0 / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.352e-05/0.003798, allocations: 4 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.003805, allocations: 0 / 381.6 MB, free: 15.03 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 6.424e-05/0.003869, allocations: 156.6 kB / 381.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.003883, allocations: 7.953 kB / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.779e-05/0.003981, allocations: 73.27 kB / 381.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.003983, allocations: 0 / 381.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.003987, allocations: 0 / 381.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.00399, allocations: 0 / 381.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.886e-05/0.004078, allocations: 116.6 kB / 381.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.004079, allocations: 0 / 381.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.334e-05/0.004103, allocations: 12.22 kB / 381.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.004104, allocations: 0 / 381.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.004111, allocations: 0 / 381.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.004113, allocations: 3.938 kB / 381.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.004114, allocations: 4 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.329e-05/0.004208, allocations: 208.1 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-06/0.004214, allocations: 4 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.296e-06/0.004222, allocations: 3.938 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.486e-05/0.004247, allocations: 3.938 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.004276, allocations: 11.92 kB / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.004279, allocations: 4 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.966e-05/0.004308, allocations: 119.2 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004308, allocations: 0 / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001528/0.004461, allocations: 8 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 9.941e-05/0.004561, allocations: 99.28 kB / 382.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.689e-05/0.004647, allocations: 31.67 kB / 382.4 MB, free: 14.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.004649, allocations: 0 / 382.4 MB, free: 14.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.951e-05/0.004669, allocations: 23.62 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.004815, allocations: 4 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002037/0.005019, allocations: 122.3 kB / 382.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.261e-05/0.005051, allocations: 55.36 kB / 382.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.036e-05/0.005072, allocations: 11.97 kB / 382.6 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.151e-05/0.005093, allocations: 8.5 kB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.005094, allocations: 0 / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of Templates: time 0.002032/0.007126, allocations: 479.9 kB / 383.1 MB, free: 13.36 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: 3.0333688128739595]