Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001756/0.001756, allocations: 87.67 kB / 20.96 MB, free: 3.445 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.002013/0.002013, allocations: 161.3 kB / 24.27 MB, free: 136 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.602/1.602, allocations: 177.1 MB / 204.6 MB, free: 5.578 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.3808/0.3808, allocations: 34.27 MB / 295.3 MB, free: 0.6758 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.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 377.3 MB, free: 2.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/2.998e-05, allocations: 2.312 kB / 377.3 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003673/0.003703, allocations: 1.681 MB / 379 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.004974, allocations: 0.5492 MB / 379.6 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.284e-05/0.005027, allocations: 0 / 379.6 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006799/0.005707, allocations: 451 kB / 380 MB, free: 232 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005708/0.006278, allocations: 299.2 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.006637, allocations: 131.5 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002726/0.00691, allocations: 179.6 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.007019, allocations: 16.22 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.007207, allocations: 123.8 kB / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003317/0.007539, allocations: 247.5 kB / 381 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.00757, allocations: 4 kB / 381 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.007699, allocations: 55.91 kB / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.007823, allocations: 87.64 kB / 381.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.795e-05/0.007881, allocations: 35.75 kB / 381.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003864/0.008268, allocations: 255.1 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.008272, allocations: 0 / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.008273, allocations: 3.938 kB / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.008278, allocations: 0 / 381.4 MB, free: 14.81 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009498/0.009228, allocations: 0.7278 MB / 382.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.00926, allocations: 12.03 kB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.005e-05/0.00934, allocations: 48.66 kB / 382.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.009666, allocations: 248.9 kB / 382.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.009679, allocations: 4.375 kB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.009701, allocations: 4.375 kB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.009864, allocations: 62.17 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.009875, allocations: 192 / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.009887, allocations: 4.125 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.009893, allocations: 4 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.01002, allocations: 31.97 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006565/0.01067, allocations: 483.5 kB / 383 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.01092, allocations: 66.97 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.852e-05/0.01099, allocations: 19.81 kB / 383.1 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.01101, allocations: 3.984 kB / 383.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.01105, allocations: 37.39 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.01105, allocations: 0 / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.001184/0.01223, allocations: 396.4 kB / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.01228, allocations: 55.41 kB / 383.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008124/0.0131, allocations: 0.6745 MB / 384.3 MB, free: 11.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.01312, allocations: 29.7 kB / 384.3 MB, free: 11.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.01341, allocations: 294.8 kB / 384.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.242e-05/0.01346, allocations: 43.64 kB / 384.6 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.058e-05/0.01352, allocations: 31.38 kB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003906/0.01391, allocations: 0.582 MB / 385.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.01401, allocations: 27.98 kB / 385.3 MB, free: 10.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.01412, allocations: 39.97 kB / 385.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.01433, allocations: 91.59 kB / 385.4 MB, free: 10.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.01433, allocations: 0 / 385.4 MB, free: 10.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005838/0.01491, allocations: 165.6 kB / 385.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.01492, allocations: 8 kB / 385.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.01493, allocations: 0 / 385.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.01494, allocations: 0 / 385.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.01504, allocations: 23.98 kB / 385.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.01505, allocations: 0 / 385.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.354e-05/0.01511, allocations: 8 kB / 385.6 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.01513, allocations: 4 kB / 385.6 MB, free: 10.42 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 0.0001465/0.01527, allocations: 168.5 kB / 385.8 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.087e-05/0.01535, allocations: 55.66 kB / 385.8 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000401/0.01575, allocations: 170 kB / 386 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.01576, allocations: 7.984 kB / 386 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.01576, allocations: 0 / 386 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.01577, allocations: 0 / 386 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009552/0.01672, allocations: 0.6177 MB / 386.6 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/0.01673, allocations: 4 kB / 386.6 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.73e-05/0.01682, allocations: 23.98 kB / 386.6 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.01683, allocations: 4.062 kB / 386.6 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.01684, allocations: 4 kB / 386.6 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.01684, allocations: 7.875 kB / 386.6 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01685, allocations: 0 / 386.6 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/0.01728, allocations: 334.9 kB / 387 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.915e-05/0.01735, allocations: 43.7 kB / 387 MB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.01738, allocations: 4 kB / 387 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.683e-05/0.01747, allocations: 7.938 kB / 387 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.01752, allocations: 15.92 kB / 387 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.01753, allocations: 11.98 kB / 387.1 MB, free: 8.855 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004964/0.01803, allocations: 438.8 kB / 387.5 MB, free: 8.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01803, allocations: 0 / 387.5 MB, free: 8.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002723/0.0183, allocations: 35.92 kB / 387.5 MB, free: 8.395 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.003363/0.02167, allocations: 494.9 kB / 388 MB, free: 8.117 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002987/0.02196, allocations: 103.5 kB / 388.1 MB, free: 8.012 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.02197, allocations: 4 kB / 388.1 MB, free: 8.008 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.02211, allocations: 59.59 kB / 388.2 MB, free: 7.945 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.02245, allocations: 25.95 kB / 388.2 MB, free: 7.922 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.02353, allocations: 0.6598 MB / 388.8 MB, free: 7.223 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.02378, allocations: 216.6 kB / 389.1 MB, free: 6.992 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.703e-05/0.02384, allocations: 16.47 kB / 389.1 MB, free: 6.977 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.713e-05/0.02389, allocations: 20.5 kB / 389.1 MB, free: 6.957 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.02389, allocations: 4 kB / 389.1 MB, free: 6.953 MB / 362.7 MB Notification: Performance of Templates: time 0.005489/0.02938, allocations: 1.715 MB / 390.8 MB, free: 5.262 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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: 4.924170970916748]