Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.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.00109/0.00109, allocations: 88.31 kB / 20.94 MB, free: 3.598 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.001161/0.001161, allocations: 169 kB / 24.24 MB, free: 308 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.9708/0.9708, allocations: 158.6 MB / 186 MB, free: 2.523 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.1357/0.1357, allocations: 32.36 MB / 270.7 MB, free: 14.74 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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 347.7 MB, free: 9.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.671e-05, allocations: 8.219 kB / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002081/0.002108, allocations: 1.603 MB / 349.3 MB, free: 8.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005195/0.002628, allocations: 311.5 kB / 349.6 MB, free: 7.852 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.486e-05/0.002692, allocations: 0 / 349.6 MB, free: 7.852 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003138/0.003006, allocations: 95.67 kB / 349.7 MB, free: 7.758 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.003209, allocations: 83.66 kB / 349.8 MB, free: 7.676 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.003419, allocations: 59.84 kB / 349.8 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.003568, allocations: 75.75 kB / 349.9 MB, free: 7.543 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.003678, allocations: 8 kB / 349.9 MB, free: 7.535 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.08e-05/0.003739, allocations: 47.88 kB / 349.9 MB, free: 7.488 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.084e-05/0.00382, allocations: 47.88 kB / 350 MB, free: 7.441 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.003837, allocations: 0 / 350 MB, free: 7.441 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.685e-05/0.003903, allocations: 31.92 kB / 350 MB, free: 7.41 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.635e-05/0.00395, allocations: 19.94 kB / 350 MB, free: 7.391 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.914e-05/0.003979, allocations: 11.92 kB / 350.1 MB, free: 7.379 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.004132, allocations: 79.73 kB / 350.1 MB, free: 7.301 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.004135, allocations: 0 / 350.1 MB, free: 7.301 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.004137, allocations: 0 / 350.1 MB, free: 7.301 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.004142, allocations: 4 kB / 350.1 MB, free: 7.297 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003242/0.004466, allocations: 431.9 kB / 350.6 MB, free: 6.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.004504, allocations: 12.03 kB / 350.6 MB, free: 6.828 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.004545, allocations: 16.78 kB / 350.6 MB, free: 6.812 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.004659, allocations: 142.8 kB / 350.7 MB, free: 6.648 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.004668, allocations: 4.375 kB / 350.7 MB, free: 6.645 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.00469, allocations: 8.359 kB / 350.7 MB, free: 6.637 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.004791, allocations: 54.95 kB / 350.8 MB, free: 6.574 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.004799, allocations: 192 / 350.8 MB, free: 6.574 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.004808, allocations: 4.125 kB / 350.8 MB, free: 6.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.004816, allocations: 0 / 350.8 MB, free: 6.57 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.309e-05/0.004849, allocations: 15.94 kB / 350.8 MB, free: 6.555 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002599/0.005109, allocations: 283.7 kB / 351.1 MB, free: 6.242 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.00527, allocations: 39.05 kB / 351.1 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.081e-05/0.00529, allocations: 15.69 kB / 351.1 MB, free: 6.172 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.005314, allocations: 3.938 kB / 351.1 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.005329, allocations: 41.42 kB / 351.2 MB, free: 6.117 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.00533, allocations: 4 kB / 351.2 MB, free: 6.113 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003379/0.005668, allocations: 101.6 kB / 351.3 MB, free: 6.008 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.005693, allocations: 55.41 kB / 351.3 MB, free: 5.941 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.005797, allocations: 234.6 kB / 351.6 MB, free: 5.695 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.151e-06/0.005803, allocations: 25.7 kB / 351.6 MB, free: 5.664 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/0.005843, allocations: 154.9 kB / 351.7 MB, free: 5.508 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.005862, allocations: 19.8 kB / 351.8 MB, free: 5.488 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.527e-05/0.005888, allocations: 23.36 kB / 351.8 MB, free: 5.457 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.618e-05/0.005944, allocations: 0.5001 MB / 352.3 MB, free: 4.945 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.561e-05/0.00596, allocations: 4 kB / 352.3 MB, free: 4.941 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.295e-05/0.005972, allocations: 12 kB / 352.3 MB, free: 4.93 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.418e-05/0.006007, allocations: 23.88 kB / 352.3 MB, free: 4.902 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.006007, allocations: 0 / 352.3 MB, free: 4.902 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001202/0.006128, allocations: 65.52 kB / 352.4 MB, free: 4.832 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.006143, allocations: 4 kB / 352.4 MB, free: 4.828 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.006151, allocations: 4.047 kB / 352.4 MB, free: 4.824 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.006164, allocations: 3.984 kB / 352.4 MB, free: 4.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.423e-05/0.006198, allocations: 11.98 kB / 352.4 MB, free: 4.809 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.006205, allocations: 0 / 352.4 MB, free: 4.809 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.042e-05/0.006226, allocations: 8 kB / 352.4 MB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.00623, allocations: 3.938 kB / 352.4 MB, free: 4.797 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 4.49e-05/0.006275, allocations: 156.6 kB / 352.6 MB, free: 4.633 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.893e-05/0.006294, allocations: 19.84 kB / 352.6 MB, free: 4.613 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.006405, allocations: 74.77 kB / 352.7 MB, free: 4.531 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.006406, allocations: 0 / 352.7 MB, free: 4.531 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.00641, allocations: 0 / 352.7 MB, free: 4.531 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.006414, allocations: 0 / 352.7 MB, free: 4.531 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.00661, allocations: 329.4 kB / 353 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.006612, allocations: 0 / 353 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.427e-05/0.006636, allocations: 11.98 kB / 353 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.006638, allocations: 0 / 353 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.006645, allocations: 11.94 kB / 353 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.006647, allocations: 192 / 353 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.006649, allocations: 4 kB / 353 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.79e-05/0.006726, allocations: 211.8 kB / 353.2 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-06/0.006735, allocations: 7.953 kB / 353.2 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.006747, allocations: 0 / 353.2 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.058e-05/0.006777, allocations: 8 kB / 353.2 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.006817, allocations: 3.984 kB / 353.3 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.006821, allocations: 4 kB / 353.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.509e-05/0.006876, allocations: 172.2 kB / 353.4 MB, free: 3.723 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006876, allocations: 4 kB / 353.4 MB, free: 3.719 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001662/0.007043, allocations: 16 kB / 353.4 MB, free: 3.703 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008043/0.007847, allocations: 370.3 kB / 353.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.57e-05/0.007932, allocations: 35.61 kB / 353.8 MB, free: 3.391 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.007934, allocations: 4 kB / 353.8 MB, free: 3.387 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.233e-05/0.007957, allocations: 19.69 kB / 353.9 MB, free: 3.363 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.008183, allocations: 21.17 kB / 353.9 MB, free: 3.344 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/0.008511, allocations: 210.6 kB / 354.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.979e-05/0.00854, allocations: 67.33 kB / 354.2 MB, free: 3.023 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.035e-05/0.008571, allocations: 11.92 kB / 354.2 MB, free: 3.012 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.771e-05/0.008599, allocations: 16.5 kB / 354.2 MB, free: 2.992 MB / 282.7 MB Notification: Performance of SimCode: time 8.61e-07/0.008599, allocations: 0 / 354.2 MB, free: 2.992 MB / 282.7 MB Notification: Performance of Templates: time 0.002846/0.01144, allocations: 1.173 MB / 355.4 MB, free: 1.824 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.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.2636337620206177]