Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.001014/0.001014, allocations: 91.33 kB / 20.43 MB, free: 4.137 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.001123/0.001123, allocations: 169 kB / 23.8 MB, free: 0.7695 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.9439/0.9439, allocations: 158.6 MB / 185.7 MB, free: 2.523 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.1226/0.1226, allocations: 32.37 MB / 270.4 MB, free: 14.68 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 347.7 MB, free: 9.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.697e-05, allocations: 6.312 kB / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002677/0.002704, allocations: 1.945 MB / 349.7 MB, free: 7.418 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.003965, allocations: 0.8271 MB / 350.5 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.004124, allocations: 7.938 kB / 350.5 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004109/0.004535, allocations: 51.62 kB / 350.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.004789, allocations: 51.7 kB / 350.6 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002726/0.005061, allocations: 107.6 kB / 350.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.005251, allocations: 147.5 kB / 350.9 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.005366, allocations: 21.61 kB / 350.9 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.299e-05/0.005459, allocations: 79.75 kB / 351 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.263e-05/0.005552, allocations: 39.88 kB / 351 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.005576, allocations: 8 kB / 351 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.602e-05/0.005672, allocations: 43.98 kB / 351.1 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.427e-05/0.005736, allocations: 27.86 kB / 351.1 MB, free: 6.004 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.392e-05/0.00579, allocations: 19.92 kB / 351.1 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.006014, allocations: 131.5 kB / 351.2 MB, free: 5.855 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.006018, allocations: 0 / 351.2 MB, free: 5.855 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.006019, allocations: 0 / 351.2 MB, free: 5.855 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.006024, allocations: 3.938 kB / 351.2 MB, free: 5.852 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005259/0.00655, allocations: 0.4974 MB / 351.7 MB, free: 5.312 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.0066, allocations: 8.031 kB / 351.7 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.934e-05/0.00667, allocations: 24.84 kB / 351.8 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.006865, allocations: 168.3 kB / 351.9 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.006887, allocations: 4.375 kB / 351.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.006916, allocations: 8.375 kB / 351.9 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.007132, allocations: 143.6 kB / 352.1 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.007142, allocations: 3.938 kB / 352.1 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.007155, allocations: 8 kB / 352.1 MB, free: 4.898 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.007162, allocations: 4 kB / 352.1 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.322e-05/0.007215, allocations: 27.91 kB / 352.1 MB, free: 4.867 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.007628, allocations: 0.5756 MB / 352.7 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.00783, allocations: 67.11 kB / 352.8 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.854e-05/0.007869, allocations: 27.67 kB / 352.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.007887, allocations: 0 / 352.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.008044, allocations: 110.7 kB / 352.9 MB, free: 4.008 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.784e-06/0.008046, allocations: 3.984 kB / 352.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002032/0.008249, allocations: 109.5 kB / 353 MB, free: 3.891 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.89e-05/0.008268, allocations: 51.41 kB / 353.1 MB, free: 3.828 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.008371, allocations: 238.6 kB / 353.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.008382, allocations: 29.7 kB / 353.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.008433, allocations: 162.8 kB / 353.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.008452, allocations: 31.73 kB / 353.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.00849, allocations: 39.3 kB / 353.6 MB, free: 3.301 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.135e-05/0.008542, allocations: 0.5 MB / 354.1 MB, free: 2.789 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.872e-05/0.008571, allocations: 19.98 kB / 354.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.687e-05/0.008607, allocations: 62.42 kB / 354.1 MB, free: 2.688 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.762e-05/0.008675, allocations: 86.73 kB / 354.2 MB, free: 2.582 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.008677, allocations: 0 / 354.2 MB, free: 2.582 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001169/0.008794, allocations: 117.3 kB / 354.3 MB, free: 2.461 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.008807, allocations: 4.125 kB / 354.3 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.008813, allocations: 4 kB / 354.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.008828, allocations: 4 kB / 354.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.024e-05/0.008898, allocations: 19.98 kB / 354.4 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.008906, allocations: 4 kB / 354.4 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.5e-05/0.008941, allocations: 15.92 kB / 354.4 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.008948, allocations: 4 kB / 354.4 MB, free: 2.406 MB / 282.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 6.179e-05/0.00901, allocations: 168.5 kB / 354.6 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/0.009027, allocations: 15.91 kB / 354.6 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.009174, allocations: 103.1 kB / 354.7 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.009177, allocations: 8 kB / 354.7 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.009181, allocations: 0 / 354.7 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.009186, allocations: 4 kB / 354.7 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.905e-05/0.009275, allocations: 160.5 kB / 354.8 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.009277, allocations: 0 / 354.8 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.612e-05/0.009333, allocations: 12 kB / 354.9 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.009336, allocations: 3.984 kB / 354.9 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.009348, allocations: 8 kB / 354.9 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.00935, allocations: 0 / 354.9 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.009351, allocations: 0 / 354.9 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.00952, allocations: 164.2 kB / 355 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.506e-05/0.009535, allocations: 11.98 kB / 355 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.009552, allocations: 0 / 355 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.05e-05/0.009582, allocations: 8 kB / 355 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.009621, allocations: 7.984 kB / 355.1 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.009634, allocations: 7.938 kB / 355.1 MB, free: 1.656 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.627e-05/0.00969, allocations: 177 kB / 355.2 MB, free: 1.484 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00969, allocations: 3.938 kB / 355.2 MB, free: 1.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001536/0.009844, allocations: 31.89 kB / 355.3 MB, free: 1.449 MB / 282.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.0008339/0.01068, allocations: 380.8 kB / 355.6 MB, free: 1.168 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.01081, allocations: 63.59 kB / 355.7 MB, free: 1.102 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01081, allocations: 0 / 355.7 MB, free: 1.102 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.453e-05/0.01086, allocations: 43.98 kB / 355.7 MB, free: 1.055 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.01111, allocations: 43.89 kB / 355.8 MB, free: 1.012 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004966/0.01161, allocations: 256.1 kB / 356 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.975e-05/0.01164, allocations: 71.83 kB / 356.1 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.399e-05/0.01168, allocations: 13.14 kB / 356.1 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.387e-05/0.01172, allocations: 20.44 kB / 356.1 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01172, allocations: 4 kB / 356.1 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of Templates: time 0.004779/0.0165, allocations: 2.057 MB / 358.2 MB, free: 14.57 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.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.309690497815609]