Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.002272/0.002272, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.002319/0.002319, allocations: 165.2 kB / 23.53 MB, free: 0.8984 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 1.562/1.562, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] 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.2424/0.2424, allocations: 32.38 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.011e-05/4.226e-05, allocations: 6.25 kB / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003053/0.003095, allocations: 1.711 MB / 348.7 MB, free: 8.004 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.004418, allocations: 0.7765 MB / 349.5 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.425e-05/0.004502, allocations: 0 / 349.5 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004337/0.004936, allocations: 87.62 kB / 349.6 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002651/0.005201, allocations: 87.59 kB / 349.7 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.005444, allocations: 79.7 kB / 349.7 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.005637, allocations: 111.7 kB / 349.9 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.005754, allocations: 4.234 kB / 349.9 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.005887, allocations: 71.73 kB / 349.9 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.006004, allocations: 51.88 kB / 350 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.00603, allocations: 4 kB / 350 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.875e-05/0.006129, allocations: 43.92 kB / 350 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.694e-05/0.006196, allocations: 19.92 kB / 350.1 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.158e-05/0.006247, allocations: 23.91 kB / 350.1 MB, free: 6.645 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.006478, allocations: 123.6 kB / 350.2 MB, free: 6.523 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.006481, allocations: 3.938 kB / 350.2 MB, free: 6.52 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.006482, allocations: 0 / 350.2 MB, free: 6.52 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.006489, allocations: 0 / 350.2 MB, free: 6.52 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.0005991/0.007088, allocations: 447.6 kB / 350.6 MB, free: 6.047 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.007136, allocations: 12.03 kB / 350.6 MB, free: 6.035 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.786e-05/0.007204, allocations: 12.84 kB / 350.7 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.007428, allocations: 160.3 kB / 350.8 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.007447, allocations: 384 / 350.8 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.007472, allocations: 384 / 350.8 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.007624, allocations: 66.23 kB / 350.9 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.007642, allocations: 3.938 kB / 350.9 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.007654, allocations: 3.938 kB / 350.9 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.00766, allocations: 0 / 350.9 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.041e-05/0.00775, allocations: 15.98 kB / 350.9 MB, free: 5.746 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.008141, allocations: 299.8 kB / 351.2 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.008317, allocations: 59.11 kB / 351.3 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.676e-05/0.008374, allocations: 35.55 kB / 351.3 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.008396, allocations: 0 / 351.3 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001459/0.008542, allocations: 77.05 kB / 351.4 MB, free: 5.219 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.008543, allocations: 0 / 351.4 MB, free: 5.219 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005889/0.009132, allocations: 177.3 kB / 351.5 MB, free: 5.039 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.009166, allocations: 51.41 kB / 351.6 MB, free: 4.977 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.009332, allocations: 254.6 kB / 351.8 MB, free: 4.711 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.009345, allocations: 33.7 kB / 351.9 MB, free: 4.672 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.341e-05/0.009408, allocations: 158.9 kB / 352 MB, free: 4.512 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.009437, allocations: 23.8 kB / 352 MB, free: 4.488 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.009478, allocations: 35.36 kB / 352.1 MB, free: 4.445 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.009585, allocations: 0.5001 MB / 352.6 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.557e-05/0.00964, allocations: 20 kB / 352.6 MB, free: 3.914 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.62e-05/0.009697, allocations: 47.3 kB / 352.6 MB, free: 3.859 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.455e-05/0.009791, allocations: 75.28 kB / 352.7 MB, free: 3.777 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.009792, allocations: 0 / 352.7 MB, free: 3.777 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001494/0.009941, allocations: 101.5 kB / 352.8 MB, free: 3.672 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.009958, allocations: 11.98 kB / 352.8 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.009964, allocations: 0 / 352.8 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.009984, allocations: 0 / 352.8 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.079e-05/0.01007, allocations: 12 kB / 352.8 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.01008, allocations: 0 / 352.8 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.033e-05/0.01012, allocations: 8.031 kB / 352.9 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.01013, allocations: 7.984 kB / 352.9 MB, free: 3.633 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 8.321e-05/0.01021, allocations: 173.4 kB / 353 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.01024, allocations: 15.91 kB / 353 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.01046, allocations: 115.3 kB / 353.2 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01047, allocations: 384 / 353.2 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.01047, allocations: 3.938 kB / 353.2 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.01047, allocations: 0 / 353.2 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000371/0.01085, allocations: 421 kB / 353.6 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.01085, allocations: 7.922 kB / 353.6 MB, free: 2.848 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.502e-05/0.01088, allocations: 16.02 kB / 353.6 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.01089, allocations: 0 / 353.6 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.0109, allocations: 4 kB / 353.6 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.0109, allocations: 3.938 kB / 353.6 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.0109, allocations: 0 / 353.6 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.0111, allocations: 275.4 kB / 353.9 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.907e-05/0.01111, allocations: 15.89 kB / 353.9 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.01114, allocations: 0 / 353.9 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.353e-05/0.0112, allocations: 8 kB / 353.9 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.01125, allocations: 3.984 kB / 353.9 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.01127, allocations: 8 kB / 353.9 MB, free: 2.496 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001018/0.01137, allocations: 187.1 kB / 354.1 MB, free: 2.312 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01137, allocations: 0 / 354.1 MB, free: 2.312 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002588/0.01163, allocations: 31.92 kB / 354.1 MB, free: 2.281 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.00317/0.0148, allocations: 498.3 kB / 354.6 MB, free: 1.902 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.015, allocations: 67.59 kB / 354.7 MB, free: 1.832 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.015, allocations: 0 / 354.7 MB, free: 1.832 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.079e-05/0.01507, allocations: 43.61 kB / 354.7 MB, free: 1.785 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.01544, allocations: 29.45 kB / 354.7 MB, free: 1.758 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004947/0.01593, allocations: 237 kB / 355 MB, free: 1.496 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.417e-05/0.01602, allocations: 96.94 kB / 355.1 MB, free: 1.379 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.559e-05/0.01606, allocations: 16.78 kB / 355.1 MB, free: 1.363 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.0161, allocations: 16.5 kB / 355.1 MB, free: 1.348 MB / 282.7 MB Notification: Performance of SimCode: time 1.062e-06/0.0161, allocations: 0 / 355.1 MB, free: 1.348 MB / 282.7 MB Notification: Performance of Templates: time 0.005574/0.02168, allocations: 1.835 MB / 356.9 MB, free: 15.53 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.920949378982186]