Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.001452/0.001452, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001024/0.001024, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9461/0.9461, allocations: 177.2 MB / 205 MB, free: 5.301 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3245/0.3245, allocations: 34.26 MB / 295.7 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.697e-05, allocations: 2.312 kB / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002335/0.002362, allocations: 1.68 MB / 379.8 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008054/0.003168, allocations: 0.5609 MB / 380.3 MB, free: 384 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.931e-05/0.003247, allocations: 0 / 380.3 MB, free: 384 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002997/0.003547, allocations: 91.62 kB / 380.4 MB, free: 292 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003262/0.003873, allocations: 123.5 kB / 380.5 MB, free: 168 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.004156, allocations: 111.7 kB / 380.6 MB, free: 56 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.004351, allocations: 107.7 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.004455, allocations: 19.98 kB / 380.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.012e-05/0.004535, allocations: 59.88 kB / 380.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.004636, allocations: 59.86 kB / 380.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.004652, allocations: 4 kB / 380.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.923e-05/0.004741, allocations: 47.92 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.397e-05/0.004795, allocations: 31.84 kB / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.49e-05/0.00483, allocations: 27.92 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.005007, allocations: 111.5 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.00501, allocations: 0 / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.005011, allocations: 0 / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.005016, allocations: 0 / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004527/0.005468, allocations: 463.8 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.00551, allocations: 8.031 kB / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.52e-05/0.005565, allocations: 16.84 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.005724, allocations: 160.3 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.005735, allocations: 8.312 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.005759, allocations: 12.38 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.00589, allocations: 74.91 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.0059, allocations: 192 / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.005911, allocations: 8.125 kB / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.005919, allocations: 4 kB / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.204e-05/0.005961, allocations: 19.98 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.006315, allocations: 339.5 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.831e-05/0.006393, allocations: 59.05 kB / 382.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.538e-05/0.006418, allocations: 11.69 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.006436, allocations: 0 / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.006455, allocations: 41.39 kB / 382.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.31e-07/0.006456, allocations: 0 / 382.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.000619/0.007075, allocations: 249.7 kB / 382.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.00711, allocations: 59.41 kB / 382.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.007257, allocations: 242.7 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.007272, allocations: 29.7 kB / 382.9 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.007332, allocations: 170.7 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.007365, allocations: 39.66 kB / 383.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.007403, allocations: 39.36 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.007518, allocations: 0.5 MB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.141e-05/0.007549, allocations: 19.98 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.132e-05/0.00758, allocations: 31.8 kB / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.014e-05/0.007651, allocations: 47.69 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.007651, allocations: 0 / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00012/0.007771, allocations: 101.6 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.007786, allocations: 8 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.007791, allocations: 0 / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.007802, allocations: 3.938 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.194e-05/0.007894, allocations: 31.92 kB / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.007899, allocations: 0 / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.541e-05/0.007924, allocations: 11.94 kB / 383.9 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.007932, allocations: 4 kB / 383.9 MB, free: 12.62 MB / 362.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 (13): * Single equations (assignments): 13 * 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.055e-05/0.008003, allocations: 160.6 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.008035, allocations: 19.91 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.008215, allocations: 123.1 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.008217, allocations: 0 / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.008222, allocations: 3.984 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.008226, allocations: 4 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003529/0.008579, allocations: 436.9 kB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.008581, allocations: 0 / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.75e-05/0.008638, allocations: 23.98 kB / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.008642, allocations: 0 / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.008652, allocations: 11.94 kB / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.008655, allocations: 0 / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.008656, allocations: 0 / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.008814, allocations: 275.4 kB / 384.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.294e-05/0.008826, allocations: 11.91 kB / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.008841, allocations: 7.969 kB / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.688e-05/0.008878, allocations: 4 kB / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.008912, allocations: 15.97 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.008918, allocations: 4 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.937e-05/0.009008, allocations: 185.1 kB / 385.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009008, allocations: 0 / 385.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001764/0.009184, allocations: 27.94 kB / 385.1 MB, free: 11.25 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0009734/0.01016, allocations: 443.4 kB / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001383/0.0103, allocations: 67.59 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.0103, allocations: 0 / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.446e-05/0.01034, allocations: 43.48 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.01056, allocations: 27.36 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004125/0.01098, allocations: 284.5 kB / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.911e-05/0.01103, allocations: 75.33 kB / 386.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.324e-05/0.01108, allocations: 32.5 kB / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.01112, allocations: 20.5 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01112, allocations: 0 / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of Templates: time 0.003587/0.0147, allocations: 1.734 MB / 387.8 MB, free: 8.664 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.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.1540390788577497]