Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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.001369/0.001369, allocations: 95.2 kB / 20.43 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.001641/0.001641, allocations: 165 kB / 23.79 MB, free: 0.7773 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.023/1.023, 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.166/0.166, allocations: 32.37 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 347.7 MB, free: 9.387 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.077e-05/3.271e-05, allocations: 8.219 kB / 347.7 MB, free: 9.379 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002679/0.002712, allocations: 1.749 MB / 349.5 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.003797, allocations: 0.792 MB / 350.3 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.003899, allocations: 0 / 350.3 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004285/0.004328, allocations: 47.75 kB / 350.3 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.004608, allocations: 59.7 kB / 350.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.004867, allocations: 87.69 kB / 350.5 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.005039, allocations: 91.7 kB / 350.6 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.005151, allocations: 4.234 kB / 350.6 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.483e-05/0.005236, allocations: 63.75 kB / 350.6 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.032e-05/0.005316, allocations: 19.92 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.005337, allocations: 4 kB / 350.7 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.043e-05/0.005427, allocations: 43.92 kB / 350.7 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.719e-05/0.005485, allocations: 23.91 kB / 350.7 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.301e-05/0.005528, allocations: 15.94 kB / 350.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.005729, allocations: 107.5 kB / 350.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.005733, allocations: 0 / 350.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.005735, allocations: 0 / 350.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.005741, allocations: 0 / 350.8 MB, free: 6.262 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.0004266/0.006168, allocations: 439.9 kB / 351.3 MB, free: 5.797 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.006208, allocations: 12.03 kB / 351.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.008e-05/0.006258, allocations: 8.891 kB / 351.3 MB, free: 5.777 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.006437, allocations: 148.4 kB / 351.4 MB, free: 5.605 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.006454, allocations: 384 / 351.4 MB, free: 5.605 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.00648, allocations: 12.33 kB / 351.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.006595, allocations: 66.88 kB / 351.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.006606, allocations: 11.92 kB / 351.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.006614, allocations: 0 / 351.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.006621, allocations: 0 / 351.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.584e-05/0.006656, allocations: 8 kB / 351.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002837/0.00694, allocations: 279.8 kB / 351.8 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.007043, allocations: 55.11 kB / 351.9 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.332e-05/0.007076, allocations: 19.61 kB / 351.9 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.007094, allocations: 8 kB / 351.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001024/0.007197, allocations: 69.05 kB / 352 MB, free: 5.012 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.007198, allocations: 0 / 352 MB, free: 5.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004237/0.007621, allocations: 149.3 kB / 352.1 MB, free: 4.859 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.007645, allocations: 55.41 kB / 352.2 MB, free: 4.793 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.467e-05/0.00774, allocations: 224.1 kB / 352.4 MB, free: 4.559 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.799e-06/0.00775, allocations: 33.64 kB / 352.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/0.007785, allocations: 142.9 kB / 352.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.007811, allocations: 39.72 kB / 352.6 MB, free: 4.336 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.00784, allocations: 27.38 kB / 352.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.677e-05/0.007897, allocations: 0.4962 MB / 353.1 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.432e-05/0.007921, allocations: 15.98 kB / 353.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.153e-05/0.007952, allocations: 39.67 kB / 353.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.024e-05/0.008003, allocations: 47.31 kB / 353.2 MB, free: 3.676 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.008004, allocations: 0 / 353.2 MB, free: 3.676 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001021/0.008106, allocations: 93.58 kB / 353.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.00812, allocations: 11.98 kB / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.008124, allocations: 0 / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.008139, allocations: 0 / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.21e-05/0.008231, allocations: 12 kB / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.008238, allocations: 8.031 kB / 353.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.587e-05/0.008264, allocations: 0 / 353.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.008271, allocations: 7.984 kB / 353.3 MB, free: 3.539 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 5.618e-05/0.008327, allocations: 168.5 kB / 353.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.008341, allocations: 11.91 kB / 353.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.00849, allocations: 110.5 kB / 353.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.008492, allocations: 0 / 353.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.008496, allocations: 0 / 353.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.0085, allocations: 7.984 kB / 353.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.008731, allocations: 389 kB / 354 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.008734, allocations: 0 / 354 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.793e-05/0.008762, allocations: 12 kB / 354 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.008765, allocations: 0 / 354 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.008775, allocations: 7.984 kB / 354 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.008778, allocations: 4 kB / 354 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.00878, allocations: 0 / 354 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.008891, allocations: 259.4 kB / 354.3 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.251e-05/0.008903, allocations: 7.953 kB / 354.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.008924, allocations: 0 / 354.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.73e-05/0.008961, allocations: 12.03 kB / 354.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.009004, allocations: 3.984 kB / 354.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.00902, allocations: 4 kB / 354.3 MB, free: 2.477 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.354e-05/0.009073, allocations: 171.9 kB / 354.5 MB, free: 2.309 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009073, allocations: 0 / 354.5 MB, free: 2.309 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001824/0.009256, allocations: 27.92 kB / 354.5 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.0008902/0.01015, allocations: 438.3 kB / 354.9 MB, free: 1.941 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.01027, allocations: 55.59 kB / 355 MB, free: 1.883 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01027, allocations: 64 / 355 MB, free: 1.883 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.604e-05/0.0103, allocations: 35.62 kB / 355 MB, free: 1.844 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.01054, allocations: 31.88 kB / 355.1 MB, free: 1.812 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003628/0.0109, allocations: 221.7 kB / 355.3 MB, free: 1.562 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.618e-05/0.01094, allocations: 67.33 kB / 355.3 MB, free: 1.477 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.103e-05/0.01097, allocations: 16.42 kB / 355.4 MB, free: 1.461 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.152e-05/0.011, allocations: 20.48 kB / 355.4 MB, free: 1.441 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.011, allocations: 4.062 kB / 355.4 MB, free: 1.438 MB / 282.7 MB Notification: Performance of Templates: time 0.004164/0.01517, allocations: 1.836 MB / 357.2 MB, free: 15.62 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.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.5095932129770517]