Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001204/0.001204, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001077/0.001077, allocations: 173.2 kB / 24.91 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9533/0.9533, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2566/0.2566, allocations: 34.26 MB / 296.1 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 325.3 MB, free: 7.586 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.214e-05, allocations: 7.016 kB / 325.3 MB, free: 7.578 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002156/0.002178, allocations: 1.837 MB / 327.2 MB, free: 5.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.004133, allocations: 1.815 MB / 329 MB, free: 3.906 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.442e-05/0.004208, allocations: 0 / 329 MB, free: 3.906 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.004511, allocations: 47.64 kB / 329 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.004838, allocations: 155.2 kB / 329.2 MB, free: 3.707 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.004985, allocations: 111.6 kB / 329.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.005184, allocations: 207.2 kB / 329.5 MB, free: 3.395 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.154e-05/0.005235, allocations: 6.469 kB / 329.5 MB, free: 3.391 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.005354, allocations: 107.7 kB / 329.6 MB, free: 3.285 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.005476, allocations: 63.8 kB / 329.7 MB, free: 3.223 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.005497, allocations: 8 kB / 329.7 MB, free: 3.215 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.005637, allocations: 115.8 kB / 329.8 MB, free: 3.102 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.273e-05/0.0057, allocations: 39.83 kB / 329.8 MB, free: 3.062 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.463e-05/0.005745, allocations: 40.34 kB / 329.9 MB, free: 3.023 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.00599, allocations: 199.2 kB / 330.1 MB, free: 2.828 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.005993, allocations: 4 kB / 330.1 MB, free: 2.824 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005994, allocations: 0 / 330.1 MB, free: 2.824 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.005998, allocations: 0 / 330.1 MB, free: 2.824 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004748/0.006472, allocations: 404.9 kB / 330.5 MB, free: 2.406 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.813e-05/0.006501, allocations: 8.031 kB / 330.5 MB, free: 2.398 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.006535, allocations: 12.92 kB / 330.5 MB, free: 2.387 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.006729, allocations: 181.4 kB / 330.7 MB, free: 2.184 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.006748, allocations: 8.359 kB / 330.7 MB, free: 2.176 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.006764, allocations: 4.359 kB / 330.7 MB, free: 2.172 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.006929, allocations: 160.6 kB / 330.8 MB, free: 1.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.006939, allocations: 3.938 kB / 330.8 MB, free: 1.977 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.006948, allocations: 4 kB / 330.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.006954, allocations: 0 / 330.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.185e-05/0.006986, allocations: 21.58 kB / 330.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.209e-05/0.007078, allocations: 82.38 kB / 330.9 MB, free: 1.848 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.007187, allocations: 82.8 kB / 331 MB, free: 1.746 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.784e-05/0.007214, allocations: 21.72 kB / 331 MB, free: 1.719 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.007225, allocations: 4 kB / 331 MB, free: 1.715 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001073/0.007333, allocations: 103.8 kB / 331.1 MB, free: 1.594 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.007334, allocations: 0 / 331.1 MB, free: 1.594 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001446/0.007478, allocations: 91.25 kB / 331.2 MB, free: 1.496 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.007533, allocations: 140.4 kB / 331.4 MB, free: 1.328 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.007677, allocations: 217.1 kB / 331.6 MB, free: 1.098 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.007695, allocations: 33.69 kB / 331.6 MB, free: 1.059 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.062e-05/0.007725, allocations: 96.61 kB / 331.7 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.007758, allocations: 35.78 kB / 331.7 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.007792, allocations: 33.69 kB / 331.8 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.753e-05/0.007869, allocations: 330.7 kB / 332.1 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.121e-05/0.00789, allocations: 14.81 kB / 332.1 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.188e-05/0.007942, allocations: 105 kB / 332.2 MB, free: 416 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.109e-05/0.008003, allocations: 75.81 kB / 332.3 MB, free: 324 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.008005, allocations: 0 / 332.3 MB, free: 324 kB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 8.977e-05/0.008095, allocations: 95.28 kB / 332.4 MB, free: 220 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.008106, allocations: 6.344 kB / 332.4 MB, free: 216 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.00811, allocations: 0 / 332.4 MB, free: 216 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.008124, allocations: 4 kB / 332.4 MB, free: 212 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.754e-05/0.008192, allocations: 27.86 kB / 332.4 MB, free: 184 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.008195, allocations: 0 / 332.4 MB, free: 184 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.008243, allocations: 11.95 kB / 332.4 MB, free: 172 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.882e-06/0.008249, allocations: 4 kB / 332.4 MB, free: 168 kB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.791e-05/0.008317, allocations: 128.6 kB / 332.6 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.008334, allocations: 11.98 kB / 332.6 MB, free: 16 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.008452, allocations: 90.88 kB / 332.7 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.008454, allocations: 4 kB / 332.7 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-06/0.008456, allocations: 3.938 kB / 332.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.008459, allocations: 0 / 332.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.675e-05/0.008546, allocations: 110 kB / 332.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.008548, allocations: 4 kB / 332.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.312e-05/0.008571, allocations: 15.92 kB / 332.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.008574, allocations: 4 kB / 332.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.00858, allocations: 4 kB / 332.8 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.008581, allocations: 0 / 332.8 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.008583, allocations: 7.984 kB / 332.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.695e-05/0.00867, allocations: 118.3 kB / 332.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.178e-05/0.008692, allocations: 23.86 kB / 332.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.00871, allocations: 0 / 332.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.118e-05/0.008741, allocations: 11.92 kB / 333 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.008769, allocations: 11.98 kB / 333 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.00878, allocations: 7.938 kB / 333 MB, free: 15.56 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.843e-05/0.008839, allocations: 78.23 kB / 333.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008839, allocations: 0 / 333.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001561/0.008995, allocations: 55.86 kB / 333.1 MB, free: 15.43 MB / 314.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001391/0.01039, allocations: 0.6418 MB / 333.8 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.01049, allocations: 52.7 kB / 333.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.01049, allocations: 4 kB / 333.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.752e-05/0.01053, allocations: 40.77 kB / 333.8 MB, free: 14.99 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.01069, allocations: 58.81 kB / 333.9 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003229/0.01101, allocations: 272.1 kB / 334.2 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.542e-05/0.01105, allocations: 80.05 kB / 334.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.915e-05/0.01111, allocations: 29.45 kB / 334.3 MB, free: 14.51 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.01125, allocations: 103.3 kB / 334.4 MB, free: 14.41 MB / 314.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01125, allocations: 0 / 334.4 MB, free: 14.41 MB / 314.7 MB Notification: Performance of Templates: time 0.004783/0.01604, allocations: 3.731 MB / 338.1 MB, free: 10.75 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.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.0142679079435766]