Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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.001025/0.001025, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001162/0.001162, allocations: 173 kB / 24.25 MB, free: 316 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.9465/0.9465, allocations: 158.6 MB / 186 MB, free: 2.902 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.1388/0.1388, allocations: 32.36 MB / 270.7 MB, free: 14.77 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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 347.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.42e-05/1.538e-05, allocations: 4.281 kB / 347.7 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.001791/0.001806, allocations: 1.746 MB / 349.5 MB, free: 7.941 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008107/0.002617, allocations: 0.7803 MB / 350.3 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.715e-05/0.002684, allocations: 0 / 350.3 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002807/0.002965, allocations: 47.7 kB / 350.3 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.003157, allocations: 63.69 kB / 350.4 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.003341, allocations: 79.72 kB / 350.5 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.00348, allocations: 99.67 kB / 350.6 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.003585, allocations: 4.234 kB / 350.6 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.237e-05/0.003658, allocations: 55.78 kB / 350.6 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.987e-05/0.003727, allocations: 27.89 kB / 350.6 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.003748, allocations: 4 kB / 350.6 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.073e-05/0.003829, allocations: 43.92 kB / 350.7 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.774e-05/0.003886, allocations: 23.92 kB / 350.7 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.066e-05/0.003937, allocations: 23.92 kB / 350.7 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.004097, allocations: 103.6 kB / 350.8 MB, free: 6.586 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.004099, allocations: 3.938 kB / 350.8 MB, free: 6.582 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.0041, allocations: 0 / 350.8 MB, free: 6.582 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.004104, allocations: 0 / 350.8 MB, free: 6.582 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.0003545/0.004458, allocations: 443.9 kB / 351.3 MB, free: 6.113 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.004491, allocations: 12.03 kB / 351.3 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.114e-05/0.004532, allocations: 12.84 kB / 351.3 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.004656, allocations: 153.8 kB / 351.4 MB, free: 5.914 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.004672, allocations: 4.375 kB / 351.5 MB, free: 5.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.004688, allocations: 4.375 kB / 351.5 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.00479, allocations: 62.94 kB / 351.5 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.004798, allocations: 3.938 kB / 351.5 MB, free: 5.832 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.004808, allocations: 3.938 kB / 351.5 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.004815, allocations: 0 / 351.5 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.377e-05/0.004859, allocations: 15.98 kB / 351.5 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002682/0.005127, allocations: 283.8 kB / 351.8 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.977e-05/0.005227, allocations: 51.17 kB / 351.9 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.035e-05/0.005257, allocations: 27.55 kB / 351.9 MB, free: 5.406 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.005271, allocations: 4 kB / 351.9 MB, free: 5.402 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.632e-05/0.005367, allocations: 65.05 kB / 352 MB, free: 5.324 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.005369, allocations: 3.938 kB / 352 MB, free: 5.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003862/0.005755, allocations: 153.4 kB / 352.1 MB, free: 5.164 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.005781, allocations: 51.41 kB / 352.2 MB, free: 5.102 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.00589, allocations: 236 kB / 352.4 MB, free: 4.855 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.005901, allocations: 29.7 kB / 352.4 MB, free: 4.82 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.186e-05/0.005943, allocations: 146.9 kB / 352.6 MB, free: 4.672 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.00597, allocations: 31.73 kB / 352.6 MB, free: 4.641 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.006001, allocations: 27.38 kB / 352.6 MB, free: 4.605 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.691e-05/0.006057, allocations: 0.4962 MB / 353.1 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.064e-05/0.006078, allocations: 16.36 kB / 353.1 MB, free: 4.082 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.005e-05/0.006108, allocations: 39.3 kB / 353.2 MB, free: 4.035 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.884e-05/0.006157, allocations: 51.3 kB / 353.2 MB, free: 3.977 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.006158, allocations: 4 kB / 353.2 MB, free: 3.973 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.602e-05/0.006244, allocations: 89.56 kB / 353.3 MB, free: 3.879 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.006257, allocations: 8 kB / 353.3 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.006262, allocations: 0 / 353.3 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.006274, allocations: 32 / 353.3 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.121e-05/0.006345, allocations: 16 kB / 353.3 MB, free: 3.855 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.006351, allocations: 4 kB / 353.3 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.785e-05/0.006379, allocations: 7.984 kB / 353.4 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-06/0.006385, allocations: 4 kB / 353.4 MB, free: 3.84 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.623e-05/0.006441, allocations: 172.4 kB / 353.5 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.006455, allocations: 15.91 kB / 353.5 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.006587, allocations: 103.3 kB / 353.6 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.006589, allocations: 0 / 353.6 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.006593, allocations: 7.938 kB / 353.7 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.006597, allocations: 4 kB / 353.7 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.006822, allocations: 385 kB / 354 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.006823, allocations: 3.938 kB / 354 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-05/0.006846, allocations: 11.98 kB / 354 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.006848, allocations: 0 / 354 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.006857, allocations: 8 kB / 354.1 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.006858, allocations: 0 / 354.1 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006859, allocations: 0 / 354.1 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.00696, allocations: 259.4 kB / 354.3 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-06/0.006969, allocations: 7.953 kB / 354.3 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.006985, allocations: 11.97 kB / 354.3 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.887e-05/0.007023, allocations: 7.984 kB / 354.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.007052, allocations: 4 kB / 354.3 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.007064, allocations: 7.984 kB / 354.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.719e-05/0.007111, allocations: 167.8 kB / 354.5 MB, free: 2.598 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007111, allocations: 0 / 354.5 MB, free: 2.598 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001646/0.007276, allocations: 27.94 kB / 354.5 MB, free: 2.57 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.0008126/0.008088, allocations: 440.5 kB / 355 MB, free: 2.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.008204, allocations: 59.53 kB / 355 MB, free: 2.168 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.008206, allocations: 0 / 355 MB, free: 2.168 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.791e-05/0.008244, allocations: 35.61 kB / 355.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.008473, allocations: 39.12 kB / 355.1 MB, free: 2.094 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002882/0.008761, allocations: 217.4 kB / 355.3 MB, free: 1.852 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.908e-05/0.00879, allocations: 63.34 kB / 355.4 MB, free: 1.77 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.162e-05/0.008822, allocations: 16.59 kB / 355.4 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.008847, allocations: 24.5 kB / 355.4 MB, free: 1.73 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.008848, allocations: 0 / 355.4 MB, free: 1.73 MB / 282.7 MB Notification: Performance of Templates: time 0.003092/0.01194, allocations: 1.846 MB / 357.3 MB, free: 15.9 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.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.2007246161811054]