Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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.0009931/0.0009931, allocations: 91.33 kB / 20.42 MB, free: 4.141 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.001243/0.001243, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9855/0.9855, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1323/0.1323, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 3.938 kB / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.557e-05/1.69e-05, allocations: 2.312 kB / 347.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.001892/0.001909, allocations: 1.744 MB / 349.5 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009231/0.002832, allocations: 0.7959 MB / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.626e-05/0.002918, allocations: 0 / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003699/0.003288, allocations: 47.75 kB / 350.3 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002768/0.003565, allocations: 47.7 kB / 350.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.003805, allocations: 95.69 kB / 350.5 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.003968, allocations: 95.7 kB / 350.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.004069, allocations: 4.234 kB / 350.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.12e-05/0.00415, allocations: 59.75 kB / 350.6 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.274e-05/0.004223, allocations: 23.92 kB / 350.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.00424, allocations: 4 kB / 350.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.6e-05/0.004316, allocations: 43.92 kB / 350.7 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.931e-05/0.004366, allocations: 19.91 kB / 350.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.782e-05/0.004403, allocations: 15.94 kB / 350.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.004566, allocations: 99.59 kB / 350.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.004569, allocations: 8 kB / 350.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.00457, allocations: 3.938 kB / 350.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.004574, allocations: 0 / 350.8 MB, free: 6.25 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004088/0.004983, allocations: 439.9 kB / 351.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.005021, allocations: 8.031 kB / 351.3 MB, free: 5.777 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.005069, allocations: 12.89 kB / 351.3 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.005226, allocations: 148.4 kB / 351.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.005252, allocations: 384 / 351.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.005278, allocations: 8.328 kB / 351.4 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.005422, allocations: 58.94 kB / 351.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.005436, allocations: 7.938 kB / 351.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.005451, allocations: 7.984 kB / 351.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.00546, allocations: 7.938 kB / 351.5 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.346e-05/0.005494, allocations: 4 kB / 351.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003221/0.005816, allocations: 283.8 kB / 351.8 MB, free: 5.18 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.005918, allocations: 51.16 kB / 351.9 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.703e-05/0.005955, allocations: 27.55 kB / 351.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.005968, allocations: 0 / 351.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.675e-05/0.006064, allocations: 65.05 kB / 351.9 MB, free: 5.008 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.006066, allocations: 4 kB / 351.9 MB, free: 5.004 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003911/0.006457, allocations: 157.3 kB / 352.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.006486, allocations: 55.34 kB / 352.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.859e-05/0.006585, allocations: 228.1 kB / 352.4 MB, free: 4.539 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.006593, allocations: 25.7 kB / 352.4 MB, free: 4.508 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/0.006631, allocations: 146.9 kB / 352.5 MB, free: 4.359 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.00666, allocations: 39.72 kB / 352.6 MB, free: 4.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.006693, allocations: 27.38 kB / 352.6 MB, free: 4.285 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.007e-05/0.006753, allocations: 0.4962 MB / 353.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.338e-05/0.006777, allocations: 11.98 kB / 353.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.069e-05/0.006807, allocations: 43.67 kB / 353.2 MB, free: 3.715 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.307e-05/0.00686, allocations: 47.31 kB / 353.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.006862, allocations: 0 / 353.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001091/0.006971, allocations: 89.58 kB / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.006989, allocations: 4 kB / 353.3 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.007001, allocations: 3.984 kB / 353.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.007024, allocations: 4 kB / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.007139, allocations: 12 kB / 353.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.007147, allocations: 32 / 353.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.998e-05/0.007197, allocations: 12 kB / 353.3 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.007207, allocations: 0 / 353.3 MB, free: 3.531 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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.279e-05/0.007299, allocations: 172.4 kB / 353.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.062e-05/0.00732, allocations: 15.91 kB / 353.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/0.007498, allocations: 106.6 kB / 353.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.007501, allocations: 0 / 353.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.007507, allocations: 0 / 353.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.007511, allocations: 3.938 kB / 353.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.007776, allocations: 385 kB / 354 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.007779, allocations: 4.031 kB / 354 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.669e-05/0.007815, allocations: 11.94 kB / 354 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.00782, allocations: 4 kB / 354 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.00783, allocations: 0 / 354 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.007833, allocations: 3.984 kB / 354 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.007835, allocations: 0 / 354 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.007994, allocations: 263.4 kB / 354.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.415e-05/0.008008, allocations: 7.953 kB / 354.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.00803, allocations: 4 kB / 354.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.136e-05/0.008071, allocations: 0 / 354.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.008117, allocations: 19.92 kB / 354.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.008132, allocations: 4 kB / 354.3 MB, free: 2.461 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.148e-05/0.008193, allocations: 168 kB / 354.5 MB, free: 2.297 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008193, allocations: 0 / 354.5 MB, free: 2.297 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001856/0.008379, allocations: 27.92 kB / 354.5 MB, free: 2.27 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (9): * Single equations (assignments): 7 * 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.0008811/0.00926, allocations: 435.7 kB / 354.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.009385, allocations: 51.55 kB / 355 MB, free: 1.879 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.009388, allocations: 0 / 355 MB, free: 1.879 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.903e-05/0.009427, allocations: 43.67 kB / 355 MB, free: 1.832 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.009652, allocations: 27.88 kB / 355.1 MB, free: 1.805 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/0.009985, allocations: 221.7 kB / 355.3 MB, free: 1.555 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.229e-05/0.01002, allocations: 71.33 kB / 355.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.013e-05/0.01005, allocations: 12.48 kB / 355.4 MB, free: 1.453 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.01008, allocations: 20.48 kB / 355.4 MB, free: 1.434 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01008, allocations: 0 / 355.4 MB, free: 1.434 MB / 282.7 MB Notification: Performance of Templates: time 0.003626/0.0137, allocations: 1.977 MB / 357.3 MB, free: 15.47 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.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.266948373056948]