Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.000866/0.000866, 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.0009086/0.0009086, allocations: 161 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 1.036/1.036, allocations: 177.1 MB / 205 MB, free: 5.426 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.2579/0.2579, allocations: 32.81 MB / 294.3 MB, free: 1.172 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 376 MB, free: 4.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2e-05, allocations: 9.062 kB / 376 MB, free: 4.613 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002086/0.002106, allocations: 1.727 MB / 377.8 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007454/0.002851, allocations: 0.5725 MB / 378.3 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.62e-05/0.002907, allocations: 7.938 kB / 378.4 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004388/0.003346, allocations: 459 kB / 378.8 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003408/0.003687, allocations: 295.2 kB / 379.1 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.003972, allocations: 175.5 kB / 379.3 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.004146, allocations: 187.6 kB / 379.4 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.187e-05/0.004238, allocations: 8.234 kB / 379.5 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.00434, allocations: 127.8 kB / 379.6 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.004551, allocations: 259.5 kB / 379.8 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.004571, allocations: 4 kB / 379.8 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.73e-05/0.004659, allocations: 47.92 kB / 379.9 MB, free: 0.75 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.15e-05/0.00475, allocations: 87.66 kB / 380 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.729e-05/0.004797, allocations: 43.72 kB / 380 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.005027, allocations: 219.1 kB / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.005029, allocations: 0 / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005029, allocations: 0 / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.005034, allocations: 3.938 kB / 380.2 MB, free: 412 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005904/0.005625, allocations: 0.7009 MB / 380.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.005669, allocations: 16.02 kB / 380.9 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.242e-05/0.005732, allocations: 52.61 kB / 381 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.006094, allocations: 248.8 kB / 381.2 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.006105, allocations: 384 / 381.2 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.006133, allocations: 8.375 kB / 381.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.006275, allocations: 70.88 kB / 381.3 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.006285, allocations: 192 / 381.3 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.006296, allocations: 4.125 kB / 381.3 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.006304, allocations: 0 / 381.3 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.922e-05/0.006343, allocations: 11.98 kB / 381.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004714/0.006815, allocations: 455.5 kB / 381.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.007021, allocations: 50.98 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.941e-05/0.007051, allocations: 15.81 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.007078, allocations: 0 / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.007106, allocations: 37.48 kB / 381.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.007107, allocations: 3.938 kB / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006972/0.007805, allocations: 324.9 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.007833, allocations: 55.41 kB / 382.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004115/0.008245, allocations: 0.6355 MB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.008257, allocations: 25.7 kB / 382.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.0084, allocations: 286.8 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.008433, allocations: 39.67 kB / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.00847, allocations: 27.38 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.00863, allocations: 0.5625 MB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.187e-05/0.008662, allocations: 15.98 kB / 383.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.61e-05/0.008688, allocations: 16 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.745e-05/0.008756, allocations: 51.61 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.008756, allocations: 0 / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001267/0.008883, allocations: 125.3 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.008896, allocations: 8 kB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.008902, allocations: 3.984 kB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.008917, allocations: 0 / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.42e-05/0.008981, allocations: 27.98 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.008986, allocations: 3.938 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.253e-05/0.009018, allocations: 7.984 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.009026, allocations: 8 kB / 384.1 MB, free: 12.33 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 (11): * Single equations (assignments): 11 * 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 8.207e-05/0.009108, allocations: 160.5 kB / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.009145, allocations: 47.72 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/0.009337, allocations: 137.9 kB / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.00934, allocations: 4 kB / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.009344, allocations: 0 / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.009348, allocations: 0 / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005631/0.009911, allocations: 0.5434 MB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.009913, allocations: 0 / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.265e-05/0.009986, allocations: 31.98 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.009989, allocations: 0 / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.01, allocations: 8 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.01001, allocations: 3.938 kB / 385 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.01001, allocations: 0 / 385 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.01022, allocations: 295 kB / 385.3 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.685e-05/0.01026, allocations: 39.67 kB / 385.3 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.01028, allocations: 7.938 kB / 385.3 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.97e-05/0.01036, allocations: 11.92 kB / 385.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.0104, allocations: 7.984 kB / 385.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.0104, allocations: 8.125 kB / 385.4 MB, free: 10.94 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003373/0.01074, allocations: 434.8 kB / 385.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01074, allocations: 0 / 385.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002713/0.01101, allocations: 31.94 kB / 385.8 MB, free: 10.49 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001061/0.01207, allocations: 437 kB / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001434/0.01222, allocations: 55.59 kB / 386.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01222, allocations: 0 / 386.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.647e-05/0.01228, allocations: 47.61 kB / 386.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.0126, allocations: 26.3 kB / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000779/0.01338, allocations: 0.6519 MB / 387 MB, free: 9.395 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.01348, allocations: 123.2 kB / 387.2 MB, free: 9.254 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.025e-05/0.01355, allocations: 32.39 kB / 387.2 MB, free: 9.223 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.999e-05/0.01359, allocations: 24.5 kB / 387.2 MB, free: 9.199 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01359, allocations: 0 / 387.2 MB, free: 9.199 MB / 362.7 MB Notification: Performance of Templates: time 0.00487/0.01846, allocations: 1.834 MB / 389 MB, free: 7.375 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.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.3037541108205914]