Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001098/0.001098, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001333/0.001333, allocations: 164.4 kB / 24.82 MB, free: 9.266 MB / 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.117/1.117, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.3188/0.3188, allocations: 34.26 MB / 296.1 MB, free: 0.7266 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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 378.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.98e-05/3.15e-05, allocations: 2.312 kB / 378.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.00257/0.002602, allocations: 1.653 MB / 380.2 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008281/0.00343, allocations: 0.553 MB / 380.7 MB, free: 168 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.18e-05/0.003522, allocations: 4 kB / 380.7 MB, free: 164 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000991/0.004513, allocations: 451.1 kB / 381.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004726/0.004985, allocations: 303.1 kB / 381.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004096/0.005395, allocations: 163.5 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002795/0.005675, allocations: 183.6 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.005788, allocations: 8 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.005911, allocations: 119.8 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000218/0.006129, allocations: 243.5 kB / 382.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.006147, allocations: 4 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.468e-05/0.006222, allocations: 23.94 kB / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.826e-05/0.00631, allocations: 87.7 kB / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.006347, allocations: 43.73 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.006564, allocations: 187.2 kB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.006568, allocations: 0 / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.006569, allocations: 0 / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.006574, allocations: 3.938 kB / 382.5 MB, free: 14.38 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005687/0.007143, allocations: 0.6931 MB / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.007183, allocations: 12.03 kB / 383.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.912e-05/0.007243, allocations: 48.64 kB / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.007435, allocations: 240.9 kB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.007443, allocations: 384 / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.007452, allocations: 4.375 kB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.007573, allocations: 62.94 kB / 383.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.007582, allocations: 192 / 383.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.007591, allocations: 4.125 kB / 383.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.007597, allocations: 0 / 383.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.056e-05/0.007618, allocations: 11.92 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.007987, allocations: 336.2 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.863e-05/0.008065, allocations: 43.05 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.066e-05/0.008086, allocations: 11.69 kB / 384 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.008109, allocations: 0 / 384 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.008134, allocations: 49.27 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.008135, allocations: 3.938 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001689/0.008304, allocations: 89.48 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.008333, allocations: 51.41 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004067/0.00874, allocations: 0.6079 MB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.008751, allocations: 25.7 kB / 384.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.0089, allocations: 294.8 kB / 385.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.008923, allocations: 11.91 kB / 385.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.008974, allocations: 23.36 kB / 385.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.009148, allocations: 0.5547 MB / 385.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.552e-05/0.009163, allocations: 8 kB / 385.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.176e-05/0.009175, allocations: 3.938 kB / 385.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.627e-05/0.009211, allocations: 19.67 kB / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.009213, allocations: 0 / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000105/0.009318, allocations: 85.41 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.009335, allocations: 10.28 kB / 385.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.00934, allocations: 0 / 385.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.009354, allocations: 4 kB / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.575e-05/0.00943, allocations: 4 kB / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.009433, allocations: 0 / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.896e-05/0.009462, allocations: 7.984 kB / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.009467, allocations: 4 kB / 385.8 MB, free: 10.88 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 (3): * Single equations (assignments): 3 * 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 9.273e-05/0.00956, allocations: 156.5 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.009596, allocations: 51.66 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.009732, allocations: 85.12 kB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.009734, allocations: 0 / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.009736, allocations: 0 / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.009739, allocations: 0 / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.009928, allocations: 201.1 kB / 386.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.00993, allocations: 4 kB / 386.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.499e-05/0.009975, allocations: 7.984 kB / 386.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.009977, allocations: 4 kB / 386.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-06/0.009981, allocations: 0 / 386.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.009986, allocations: 7.938 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.009988, allocations: 0 / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.01012, allocations: 231.6 kB / 386.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.788e-05/0.01015, allocations: 39.66 kB / 386.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.01016, allocations: 3.938 kB / 386.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.359e-05/0.01021, allocations: 3.938 kB / 386.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.01022, allocations: 7.984 kB / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.01023, allocations: 0 / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002225/0.01045, allocations: 402.7 kB / 387 MB, free: 9.633 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.01045, allocations: 0 / 387 MB, free: 9.633 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001641/0.01061, allocations: 20 kB / 387 MB, free: 9.613 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 (3): * Single equations (assignments): 3 * 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.0007696/0.01138, allocations: 323 kB / 387.3 MB, free: 9.406 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.193e-05/0.01146, allocations: 19.62 kB / 387.3 MB, free: 9.383 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01147, allocations: 0 / 387.3 MB, free: 9.383 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.487e-05/0.01148, allocations: 15.67 kB / 387.3 MB, free: 9.363 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.01174, allocations: 41.19 kB / 387.4 MB, free: 9.324 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006542/0.0124, allocations: 0.5729 MB / 388 MB, free: 8.723 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.802e-05/0.01248, allocations: 115.3 kB / 388.1 MB, free: 8.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.755e-05/0.01251, allocations: 8.172 kB / 388.1 MB, free: 8.582 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003932/0.01291, allocations: 74.2 kB / 388.2 MB, free: 8.508 MB / 362.7 MB Notification: Performance of SimCode: time 1.302e-06/0.01291, allocations: 0 / 388.2 MB, free: 8.508 MB / 362.7 MB Notification: Performance of Templates: time 0.004127/0.01703, allocations: 1.299 MB / 389.5 MB, free: 7.219 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.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.299400608986616]