Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.001042/0.001042, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001147/0.001147, allocations: 177 kB / 24.06 MB, free: 456 kB / 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.9938/0.9938, allocations: 158.6 MB / 185.9 MB, free: 2.793 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.1593/0.1593, allocations: 32.38 MB / 270.7 MB, free: 14.53 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 348.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.304e-05/3.529e-05, allocations: 2.312 kB / 348.2 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.004172/0.004207, allocations: 1.725 MB / 349.9 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.005416, allocations: 0.7881 MB / 350.7 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.005532, allocations: 0 / 350.7 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003376/0.005869, allocations: 55.75 kB / 350.8 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.006092, allocations: 63.69 kB / 350.8 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.006345, allocations: 83.64 kB / 350.9 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.006512, allocations: 99.69 kB / 351 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.006639, allocations: 8.234 kB / 351 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.006742, allocations: 51.83 kB / 351.1 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.934e-05/0.006832, allocations: 27.91 kB / 351.1 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.006856, allocations: 4 kB / 351.1 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.006971, allocations: 47.91 kB / 351.2 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.9e-05/0.00703, allocations: 27.86 kB / 351.2 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.743e-05/0.007077, allocations: 15.94 kB / 351.2 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.007279, allocations: 115.5 kB / 351.3 MB, free: 5.973 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.007284, allocations: 0 / 351.3 MB, free: 5.973 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.007286, allocations: 0 / 351.3 MB, free: 5.973 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.007292, allocations: 0 / 351.3 MB, free: 5.973 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.0005352/0.007828, allocations: 483.6 kB / 351.8 MB, free: 5.465 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.00788, allocations: 8.031 kB / 351.8 MB, free: 5.457 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.242e-05/0.007932, allocations: 16.84 kB / 351.8 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.008111, allocations: 152.4 kB / 352 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.008131, allocations: 384 / 352 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.008151, allocations: 4.375 kB / 352 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.008286, allocations: 66.81 kB / 352 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.0083, allocations: 3.938 kB / 352 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.008308, allocations: 0 / 352 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.008315, allocations: 4 kB / 352 MB, free: 5.18 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.994e-05/0.008345, allocations: 15.97 kB / 352 MB, free: 5.164 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.00863, allocations: 268.4 kB / 352.3 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.602e-05/0.008726, allocations: 59.03 kB / 352.4 MB, free: 4.805 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.175e-05/0.008748, allocations: 15.75 kB / 352.4 MB, free: 4.785 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.008766, allocations: 0 / 352.4 MB, free: 4.785 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/0.00887, allocations: 68.98 kB / 352.5 MB, free: 4.703 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.008871, allocations: 0 / 352.5 MB, free: 4.703 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003857/0.009257, allocations: 137.4 kB / 352.6 MB, free: 4.562 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.009282, allocations: 59.39 kB / 352.6 MB, free: 4.492 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.009411, allocations: 261.3 kB / 352.9 MB, free: 4.219 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.009423, allocations: 29.7 kB / 352.9 MB, free: 4.184 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.009477, allocations: 166.8 kB / 353.1 MB, free: 4.016 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.009509, allocations: 35.72 kB / 353.1 MB, free: 3.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.009546, allocations: 23.38 kB / 353.1 MB, free: 3.949 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.28e-05/0.009638, allocations: 0.5079 MB / 353.7 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.007e-05/0.009658, allocations: 8 kB / 353.7 MB, free: 3.422 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.927e-05/0.009688, allocations: 31.3 kB / 353.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.863e-05/0.009736, allocations: 47.34 kB / 353.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.009738, allocations: 4 kB / 353.7 MB, free: 3.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001202/0.009858, allocations: 89.55 kB / 353.8 MB, free: 3.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.009872, allocations: 8 kB / 353.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.009879, allocations: 80 / 353.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.009894, allocations: 0 / 353.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.357e-05/0.009978, allocations: 12 kB / 353.9 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.009985, allocations: 11.97 kB / 353.9 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.584e-05/0.01002, allocations: 0 / 353.9 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.01003, allocations: 8 kB / 353.9 MB, free: 3.191 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 7.691e-05/0.01011, allocations: 168.5 kB / 354 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.01013, allocations: 19.84 kB / 354.1 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001525/0.01028, allocations: 103.1 kB / 354.2 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.01028, allocations: 0 / 354.2 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.01029, allocations: 0 / 354.2 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.01029, allocations: 7.938 kB / 354.2 MB, free: 2.879 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002971/0.01059, allocations: 365.6 kB / 354.5 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.01059, allocations: 0 / 354.5 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.621e-05/0.01063, allocations: 8 kB / 354.5 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/0.01063, allocations: 4 kB / 354.5 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.01064, allocations: 8.406 kB / 354.5 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.01065, allocations: 3.984 kB / 354.5 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.01065, allocations: 4 kB / 354.5 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.0108, allocations: 259.4 kB / 354.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.57e-05/0.01082, allocations: 11.91 kB / 354.8 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.01084, allocations: 4 kB / 354.8 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.476e-05/0.0109, allocations: 4 kB / 354.8 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.01094, allocations: 7.984 kB / 354.8 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.01096, allocations: 4 kB / 354.8 MB, free: 2.148 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.019e-05/0.01103, allocations: 184.4 kB / 355 MB, free: 1.969 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01103, allocations: 4 kB / 355 MB, free: 1.965 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001944/0.01122, allocations: 23.94 kB / 355 MB, free: 1.941 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.001052/0.01227, allocations: 439.3 kB / 355.5 MB, free: 1.609 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001466/0.01242, allocations: 47.55 kB / 355.5 MB, free: 1.559 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.01242, allocations: 0 / 355.5 MB, free: 1.559 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.129e-05/0.01246, allocations: 31.81 kB / 355.5 MB, free: 1.523 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.01271, allocations: 39.91 kB / 355.6 MB, free: 1.484 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003531/0.01306, allocations: 265.7 kB / 355.8 MB, free: 1.195 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.934e-05/0.0131, allocations: 72.27 kB / 355.9 MB, free: 1.105 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.541e-05/0.01314, allocations: 12.48 kB / 355.9 MB, free: 1.094 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.916e-05/0.0132, allocations: 86.19 kB / 356 MB, free: 1.008 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.0132, allocations: 0 / 356 MB, free: 1.008 MB / 282.7 MB Notification: Performance of Templates: time 0.004597/0.01779, allocations: 2.032 MB / 358 MB, free: 15 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.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.3826806750148535]