Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.002414/0.002414, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002892/0.002892, allocations: 165.3 kB / 24.27 MB, free: 152 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.611/1.611, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.3652/0.3652, allocations: 34.26 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.316e-06/3.316e-06, allocations: 0 / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.551e-05/3.882e-05, allocations: 5.547 kB / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.007688/0.007727, allocations: 2.016 MB / 379.3 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004004/0.01173, allocations: 1.102 MB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000191/0.01192, allocations: 7.938 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008081/0.01273, allocations: 259 kB / 380.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000999/0.01373, allocations: 278.8 kB / 380.9 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.01603, allocations: 0.6352 MB / 381.6 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008662/0.01689, allocations: 359 kB / 381.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002362/0.01713, allocations: 48.77 kB / 382 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004843/0.01761, allocations: 183.5 kB / 382.2 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004345/0.01805, allocations: 211.5 kB / 382.4 MB, free: 13.87 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.062e-05/0.01811, allocations: 15.94 kB / 382.4 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.01836, allocations: 67.86 kB / 382.5 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002086/0.01856, allocations: 107.6 kB / 382.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.01868, allocations: 55.72 kB / 382.6 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006227/0.01931, allocations: 318.8 kB / 382.9 MB, free: 13.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.01931, allocations: 4 kB / 382.9 MB, free: 13.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01931, allocations: 4 kB / 382.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.01932, allocations: 4 kB / 382.9 MB, free: 13.3 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001251/0.02057, allocations: 0.7162 MB / 383.6 MB, free: 12.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.02062, allocations: 12.03 kB / 383.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.02077, allocations: 52.66 kB / 383.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005683/0.02133, allocations: 274.8 kB / 384 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.02135, allocations: 8.375 kB / 384 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/0.0214, allocations: 20.27 kB / 384 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/0.02169, allocations: 98.14 kB / 384.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.02171, allocations: 192 / 384.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.02173, allocations: 8.125 kB / 384.1 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.02174, allocations: 8 kB / 384.1 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002159/0.02196, allocations: 55.89 kB / 384.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.02303, allocations: 0.515 MB / 384.7 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.0233, allocations: 90.97 kB / 384.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.628e-05/0.0234, allocations: 31.67 kB / 384.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.734e-05/0.02343, allocations: 4 kB / 384.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.02348, allocations: 33.39 kB / 384.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.02348, allocations: 4 kB / 384.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001069/0.02455, allocations: 385.1 kB / 385.2 MB, free: 10.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.02459, allocations: 55.41 kB / 385.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006841/0.02528, allocations: 0.5378 MB / 385.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.02531, allocations: 29.7 kB / 385.8 MB, free: 10.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/0.02555, allocations: 283.2 kB / 386.1 MB, free: 9.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.934e-05/0.02562, allocations: 59.48 kB / 386.2 MB, free: 9.871 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.56e-05/0.0257, allocations: 43.36 kB / 386.2 MB, free: 9.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003382/0.02604, allocations: 0.547 MB / 386.8 MB, free: 9.262 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.02615, allocations: 39.97 kB / 386.8 MB, free: 9.223 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.02625, allocations: 50.08 kB / 386.9 MB, free: 9.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.02649, allocations: 107.7 kB / 387 MB, free: 9.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.02649, allocations: 0 / 387 MB, free: 9.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000371/0.02686, allocations: 191.7 kB / 387.2 MB, free: 8.879 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.02688, allocations: 7.938 kB / 387.2 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.02689, allocations: 4 kB / 387.2 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.0269, allocations: 0 / 387.2 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.02707, allocations: 35.98 kB / 387.2 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.02707, allocations: 0 / 387.2 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.427e-05/0.02714, allocations: 8 kB / 387.2 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.02715, allocations: 4 kB / 387.2 MB, free: 8.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 (17): * Single equations (assignments): 17 * 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.0001723/0.02732, allocations: 180.5 kB / 387.4 MB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.029e-05/0.02741, allocations: 47.72 kB / 387.4 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005008/0.02792, allocations: 213.6 kB / 387.6 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.02792, allocations: 0 / 387.6 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.02792, allocations: 4 kB / 387.6 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.02792, allocations: 0 / 387.6 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009979/0.02892, allocations: 0.6402 MB / 388.3 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.02892, allocations: 0 / 388.3 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.02905, allocations: 43.91 kB / 388.3 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.02905, allocations: 0 / 388.3 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.02906, allocations: 0 / 388.3 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.02907, allocations: 4 kB / 388.3 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.02907, allocations: 0 / 388.3 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004621/0.02953, allocations: 339.5 kB / 388.7 MB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.608e-05/0.02959, allocations: 35.7 kB / 388.7 MB, free: 7.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.02962, allocations: 8 kB / 388.7 MB, free: 7.242 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.694e-05/0.02971, allocations: 7.938 kB / 388.7 MB, free: 7.234 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.02976, allocations: 15.98 kB / 388.7 MB, free: 7.219 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.02977, allocations: 4 kB / 388.7 MB, free: 7.215 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004327/0.0302, allocations: 363 kB / 389.1 MB, free: 6.863 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0302, allocations: 0 / 389.1 MB, free: 6.863 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003096/0.03051, allocations: 51.94 kB / 389.1 MB, free: 6.812 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 (17): * Single equations (assignments): 17 * 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.005455/0.03597, allocations: 0.7612 MB / 389.9 MB, free: 6.418 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003296/0.0363, allocations: 127.5 kB / 390 MB, free: 6.289 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.0363, allocations: 0 / 390 MB, free: 6.289 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.03645, allocations: 79.58 kB / 390.1 MB, free: 6.207 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005621/0.03702, allocations: 87.95 kB / 390.2 MB, free: 6.125 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.03811, allocations: 0.6238 MB / 390.8 MB, free: 5.473 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.03836, allocations: 212.8 kB / 391 MB, free: 5.242 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001333/0.03849, allocations: 45.89 kB / 391.1 MB, free: 5.199 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.316e-05/0.03858, allocations: 36.48 kB / 391.1 MB, free: 5.164 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.03858, allocations: 0 / 391.1 MB, free: 5.164 MB / 362.7 MB Notification: Performance of Templates: time 0.008564/0.04714, allocations: 3.434 MB / 394.5 MB, free: 1.773 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.017480853013694]