Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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.001426/0.001426, allocations: 91.22 kB / 20.43 MB, free: 4.145 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.001609/0.001609, allocations: 165 kB / 23.8 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 0.9951/0.9951, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1482/0.1482, allocations: 32.38 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.939e-05/4.164e-05, allocations: 6.25 kB / 347.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003725/0.003766, allocations: 1.743 MB / 349.5 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.005208, allocations: 0.792 MB / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.005317, allocations: 0 / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004625/0.005779, allocations: 51.7 kB / 350.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003538/0.006133, allocations: 47.75 kB / 350.4 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.006432, allocations: 87.7 kB / 350.5 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.006652, allocations: 99.69 kB / 350.6 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.006789, allocations: 4.172 kB / 350.6 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.007021, allocations: 55.83 kB / 350.6 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.007131, allocations: 27.91 kB / 350.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.007156, allocations: 4 kB / 350.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.00728, allocations: 39.91 kB / 350.7 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.241e-05/0.007352, allocations: 23.94 kB / 350.7 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.333e-05/0.007415, allocations: 19.92 kB / 350.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.00765, allocations: 95.59 kB / 350.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.007658, allocations: 0 / 350.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.007659, allocations: 0 / 350.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.007666, allocations: 0 / 350.8 MB, free: 6.27 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.0004558/0.008122, allocations: 439.9 kB / 351.3 MB, free: 5.805 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.008169, allocations: 8.031 kB / 351.3 MB, free: 5.797 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.008223, allocations: 16.84 kB / 351.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.008398, allocations: 152.3 kB / 351.4 MB, free: 5.605 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.008419, allocations: 8.375 kB / 351.4 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.008444, allocations: 384 / 351.4 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.008578, allocations: 66.88 kB / 351.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.008588, allocations: 3.938 kB / 351.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.008599, allocations: 0 / 351.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.008607, allocations: 0 / 351.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.795e-05/0.008645, allocations: 15.98 kB / 351.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.008956, allocations: 271.8 kB / 351.8 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.009065, allocations: 59.09 kB / 351.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.112e-05/0.009096, allocations: 23.62 kB / 351.9 MB, free: 5.105 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.009112, allocations: 7.984 kB / 351.9 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.989e-05/0.009212, allocations: 65.05 kB / 351.9 MB, free: 5.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.009213, allocations: 0 / 351.9 MB, free: 5.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004057/0.009619, allocations: 153.6 kB / 352.1 MB, free: 4.863 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.009644, allocations: 55.39 kB / 352.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.554e-05/0.009739, allocations: 219 kB / 352.4 MB, free: 4.566 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.009748, allocations: 25.7 kB / 352.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.776e-05/0.009786, allocations: 150.8 kB / 352.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.009813, allocations: 31.77 kB / 352.6 MB, free: 4.352 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.009844, allocations: 35.38 kB / 352.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.974e-05/0.009894, allocations: 0.4923 MB / 353.1 MB, free: 3.805 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.591e-05/0.00992, allocations: 23.86 kB / 353.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.241e-05/0.009952, allocations: 31.36 kB / 353.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.434e-05/0.01001, allocations: 51.31 kB / 353.2 MB, free: 3.684 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.01001, allocations: 0 / 353.2 MB, free: 3.684 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001009/0.01011, allocations: 85.58 kB / 353.3 MB, free: 3.594 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.01013, allocations: 7.984 kB / 353.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.01013, allocations: 4 kB / 353.3 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.01015, allocations: 4.031 kB / 353.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.494e-05/0.01024, allocations: 12 kB / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.01025, allocations: 0 / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.792e-05/0.01027, allocations: 4 kB / 353.3 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.01028, allocations: 11.98 kB / 353.3 MB, free: 3.551 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.064e-05/0.01033, allocations: 160.5 kB / 353.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.01035, allocations: 19.91 kB / 353.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.01049, allocations: 110.5 kB / 353.6 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.01049, allocations: 0 / 353.6 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.0105, allocations: 0 / 353.6 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.0105, allocations: 4 kB / 353.6 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.01072, allocations: 385 kB / 354 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01073, allocations: 0 / 354 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.576e-05/0.01075, allocations: 12 kB / 354 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01075, allocations: 0 / 354 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.01076, allocations: 4 kB / 354 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.01076, allocations: 0 / 354 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01076, allocations: 0 / 354 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.01088, allocations: 259.4 kB / 354.3 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.099e-05/0.01089, allocations: 11.97 kB / 354.3 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.01091, allocations: 8 kB / 354.3 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.902e-05/0.01095, allocations: 4 kB / 354.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.01099, allocations: 7.984 kB / 354.3 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.011, allocations: 4 kB / 354.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.78e-05/0.01105, allocations: 159.1 kB / 354.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01105, allocations: 4 kB / 354.4 MB, free: 2.336 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001816/0.01123, allocations: 23.94 kB / 354.5 MB, free: 2.312 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.0008983/0.01213, allocations: 448.8 kB / 354.9 MB, free: 1.961 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001683/0.0123, allocations: 55.55 kB / 355 MB, free: 1.902 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.0123, allocations: 0 / 355 MB, free: 1.902 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.255e-05/0.01234, allocations: 35.66 kB / 355 MB, free: 1.863 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.0126, allocations: 31.88 kB / 355 MB, free: 1.832 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.01294, allocations: 209.8 kB / 355.2 MB, free: 1.594 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.41e-05/0.01298, allocations: 67.34 kB / 355.3 MB, free: 1.508 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.651e-05/0.01302, allocations: 20.59 kB / 355.3 MB, free: 1.488 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.01305, allocations: 16.5 kB / 355.3 MB, free: 1.473 MB / 282.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01305, allocations: 0 / 355.3 MB, free: 1.473 MB / 282.7 MB Notification: Performance of Templates: time 0.003542/0.01659, allocations: 1.835 MB / 357.2 MB, free: 15.66 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.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.4963197372853756]