Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001608/0.001608, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001166/0.001166, allocations: 165 kB / 24.56 MB, free: 12 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 1.043/1.043, allocations: 177.2 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2809/0.2809, allocations: 32.81 MB / 294.3 MB, free: 1.293 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/3.065e-05, allocations: 2.312 kB / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003569/0.003599, allocations: 1.7 MB / 377.7 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.004704, allocations: 0.5686 MB / 378.3 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.326e-05/0.004788, allocations: 0 / 378.3 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006614/0.005449, allocations: 451.1 kB / 378.7 MB, free: 1.938 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005562/0.006005, allocations: 295.1 kB / 379 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004829/0.006488, allocations: 183.4 kB / 379.2 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003329/0.006821, allocations: 171.6 kB / 379.4 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.006936, allocations: 16 kB / 379.4 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.007133, allocations: 123.8 kB / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003008/0.007434, allocations: 239.6 kB / 379.7 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.007459, allocations: 4 kB / 379.8 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.007569, allocations: 35.92 kB / 379.8 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.007684, allocations: 91.64 kB / 379.9 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.321e-05/0.007737, allocations: 31.75 kB / 379.9 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003251/0.008062, allocations: 203.1 kB / 380.1 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.008066, allocations: 0 / 380.1 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.008067, allocations: 4 kB / 380.1 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.008075, allocations: 4 kB / 380.1 MB, free: 0.5625 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008231/0.008898, allocations: 0.6931 MB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.008945, allocations: 8.031 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.233e-05/0.009037, allocations: 44.66 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.009329, allocations: 252.8 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.009342, allocations: 4.312 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.009373, allocations: 12.36 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.009527, allocations: 50.95 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.00954, allocations: 8.188 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.009551, allocations: 4.125 kB / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.009562, allocations: 7.984 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.557e-05/0.009607, allocations: 8 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005946/0.0102, allocations: 427.6 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.0104, allocations: 42.98 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.673e-05/0.01044, allocations: 15.69 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.01047, allocations: 0 / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.0105, allocations: 37.39 kB / 381.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.093e-06/0.0105, allocations: 0 / 381.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.00053/0.01103, allocations: 192.7 kB / 381.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.01107, allocations: 55.41 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006573/0.01173, allocations: 0.6277 MB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.01174, allocations: 25.7 kB / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.01194, allocations: 286.8 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.01198, allocations: 19.8 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.01202, allocations: 23.38 kB / 382.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002139/0.01223, allocations: 0.5508 MB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.961e-05/0.01226, allocations: 11.94 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.169e-05/0.01229, allocations: 4 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.044e-05/0.01235, allocations: 31.61 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.01235, allocations: 0 / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001668/0.01251, allocations: 97.61 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.01253, allocations: 4 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.01254, allocations: 3.984 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.01256, allocations: 0 / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.139e-05/0.01264, allocations: 15.94 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.01264, allocations: 4 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.296e-05/0.01269, allocations: 0 / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.01269, allocations: 0 / 383.6 MB, free: 12.82 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 (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 0.0001048/0.0128, allocations: 164.5 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.305e-05/0.01286, allocations: 47.66 kB / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.01306, allocations: 97.23 kB / 383.9 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.01307, allocations: 0 / 383.9 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.01307, allocations: 4 kB / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01308, allocations: 0 / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005225/0.0136, allocations: 473.3 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.0136, allocations: 0 / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.412e-05/0.01365, allocations: 11.98 kB / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.01366, allocations: 4 kB / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.01367, allocations: 0 / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.01367, allocations: 0 / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.01367, allocations: 4 kB / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.01386, allocations: 247.5 kB / 384.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.01391, allocations: 35.67 kB / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.01393, allocations: 4.25 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.531e-05/0.014, allocations: 3.984 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.01404, allocations: 8.281 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.01405, allocations: 0 / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004238/0.01447, allocations: 430.8 kB / 385.1 MB, free: 11.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01447, allocations: 0 / 385.1 MB, free: 11.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003051/0.01478, allocations: 20 kB / 385.2 MB, free: 11.21 MB / 362.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.001229/0.01601, allocations: 401.8 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.01614, allocations: 31.61 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01614, allocations: 0 / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.589e-05/0.01617, allocations: 27.67 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.01656, allocations: 25.95 kB / 385.6 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.01761, allocations: 0.5746 MB / 386.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.395e-05/0.01768, allocations: 119.2 kB / 386.3 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.881e-05/0.01774, allocations: 11.98 kB / 386.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.01778, allocations: 12.5 kB / 386.4 MB, free: 10.1 MB / 362.7 MB Notification: Performance of SimCode: time 1.924e-06/0.01778, allocations: 3.938 kB / 386.4 MB, free: 10.1 MB / 362.7 MB Notification: Performance of Templates: time 0.004066/0.02185, allocations: 1.402 MB / 387.8 MB, free: 8.711 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/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.45126994792372]