Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.0009685/0.0009685, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.0009046/0.0009046, allocations: 170.8 kB / 24.92 MB, free: 8.758 MB / 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.9721/0.9721, allocations: 177 MB / 205.2 MB, free: 5.039 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.3115/0.3115, allocations: 34.87 MB / 296.6 MB, free: 464 kB / 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.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 326 MB, free: 7.105 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.635e-05, allocations: 6.312 kB / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002626/0.002653, allocations: 1.962 MB / 327.9 MB, free: 5.129 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.004055, allocations: 1.044 MB / 329 MB, free: 4.078 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.546e-05/0.004151, allocations: 4 kB / 329 MB, free: 4.074 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.004422, allocations: 47.58 kB / 329 MB, free: 4.027 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002796/0.004701, allocations: 103.4 kB / 329.1 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.004905, allocations: 99.58 kB / 329.2 MB, free: 3.828 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.00508, allocations: 148.3 kB / 329.4 MB, free: 3.684 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.364e-05/0.005173, allocations: 30.44 kB / 329.4 MB, free: 3.652 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.942e-05/0.005273, allocations: 79.75 kB / 329.5 MB, free: 3.574 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.234e-05/0.005355, allocations: 39.83 kB / 329.5 MB, free: 3.535 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.005373, allocations: 8 kB / 329.5 MB, free: 3.527 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.816e-05/0.005461, allocations: 51.91 kB / 329.6 MB, free: 3.477 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.678e-05/0.005508, allocations: 23.86 kB / 329.6 MB, free: 3.453 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.981e-05/0.005548, allocations: 31.91 kB / 329.6 MB, free: 3.422 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.005735, allocations: 123.5 kB / 329.8 MB, free: 3.301 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.005738, allocations: 3.984 kB / 329.8 MB, free: 3.297 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.005739, allocations: 4 kB / 329.8 MB, free: 3.293 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.005744, allocations: 0 / 329.8 MB, free: 3.293 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000392/0.006136, allocations: 387 kB / 330.2 MB, free: 2.887 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.784e-05/0.006163, allocations: 12.03 kB / 330.2 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.006197, allocations: 12.92 kB / 330.2 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.006356, allocations: 166.3 kB / 330.3 MB, free: 2.672 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.006369, allocations: 4.375 kB / 330.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.006393, allocations: 12.33 kB / 330.4 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.006541, allocations: 134 kB / 330.5 MB, free: 2.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-06/0.006546, allocations: 4.188 kB / 330.5 MB, free: 2.496 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-06/0.006554, allocations: 384 / 330.5 MB, free: 2.496 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.006559, allocations: 11.88 kB / 330.5 MB, free: 2.484 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.741e-05/0.006596, allocations: 26.81 kB / 330.5 MB, free: 2.457 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.006917, allocations: 374.1 kB / 330.9 MB, free: 2.066 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.007071, allocations: 97.28 kB / 331 MB, free: 1.961 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.495e-05/0.007096, allocations: 28.77 kB / 331 MB, free: 1.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.007109, allocations: 4 kB / 331 MB, free: 1.926 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001032/0.007212, allocations: 103.8 kB / 331.1 MB, free: 1.805 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.007213, allocations: 0 / 331.1 MB, free: 1.805 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001203/0.007333, allocations: 73.61 kB / 331.2 MB, free: 1.727 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.007362, allocations: 51.41 kB / 331.2 MB, free: 1.664 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.007472, allocations: 189.6 kB / 331.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.007485, allocations: 25.7 kB / 331.5 MB, free: 1.434 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.007532, allocations: 115.9 kB / 331.6 MB, free: 1.316 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.007551, allocations: 23.84 kB / 331.6 MB, free: 1.293 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/0.007584, allocations: 29.7 kB / 331.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.255e-05/0.007656, allocations: 326.8 kB / 331.9 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.007675, allocations: 10.83 kB / 331.9 MB, free: 0.918 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.381e-05/0.007709, allocations: 54.58 kB / 332 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.257e-05/0.007772, allocations: 73.78 kB / 332.1 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.007774, allocations: 0 / 332.1 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.761e-05/0.007871, allocations: 98.08 kB / 332.2 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.007883, allocations: 4 kB / 332.2 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.007888, allocations: 8.125 kB / 332.2 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.886e-06/0.007897, allocations: 0 / 332.2 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.756e-05/0.007964, allocations: 19.98 kB / 332.2 MB, free: 0.625 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.007968, allocations: 4 kB / 332.2 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.008178, allocations: 15.89 kB / 332.2 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.008186, allocations: 4 kB / 332.2 MB, free: 0.6016 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.502e-05/0.008271, allocations: 120.6 kB / 332.3 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.008299, allocations: 15.92 kB / 332.4 MB, free: 468 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.008424, allocations: 79.06 kB / 332.4 MB, free: 380 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.008426, allocations: 4 kB / 332.4 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.008429, allocations: 0 / 332.4 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.008432, allocations: 4 kB / 332.4 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.606e-05/0.008518, allocations: 101.8 kB / 332.5 MB, free: 252 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.00852, allocations: 0 / 332.5 MB, free: 252 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.092e-05/0.008571, allocations: 11.98 kB / 332.6 MB, free: 240 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.008574, allocations: 3.938 kB / 332.6 MB, free: 236 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.008581, allocations: 4 kB / 332.6 MB, free: 232 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.008582, allocations: 0 / 332.6 MB, free: 232 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.008583, allocations: 0 / 332.6 MB, free: 232 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.008701, allocations: 114.7 kB / 332.7 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.69e-05/0.008718, allocations: 23.86 kB / 332.7 MB, free: 72 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.008734, allocations: 7.938 kB / 332.7 MB, free: 64 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.651e-05/0.008761, allocations: 8 kB / 332.7 MB, free: 56 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.008786, allocations: 7.984 kB / 332.7 MB, free: 48 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.008797, allocations: 4 kB / 332.7 MB, free: 44 kB / 298.7 MB Notification: Performance of sorting global known variables: time 5.494e-05/0.008852, allocations: 56.52 kB / 332.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008852, allocations: 0 / 332.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001368/0.008989, allocations: 24 kB / 332.8 MB, free: 15.96 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001092/0.01008, allocations: 0.5104 MB / 333.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.626e-05/0.01018, allocations: 44.78 kB / 333.4 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.01018, allocations: 0 / 333.4 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.227e-05/0.01022, allocations: 28.78 kB / 333.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.01038, allocations: 39.97 kB / 333.4 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003509/0.01073, allocations: 249.8 kB / 333.7 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.447e-05/0.01077, allocations: 72.08 kB / 333.7 MB, free: 15.22 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.304e-05/0.01081, allocations: 17.48 kB / 333.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.524e-05/0.01089, allocations: 79.34 kB / 333.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01089, allocations: 0 / 333.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of Templates: time 0.003693/0.01458, allocations: 2.2 MB / 336 MB, free: 12.96 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.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.9589459015987813]