Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.001182/0.001182, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.00126/0.00126, allocations: 173.9 kB / 25.61 MB, free: 8.582 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 0.9728/0.9728, allocations: 177.1 MB / 206 MB, free: 4.512 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.1605/0.1605, allocations: 32.79 MB / 295.4 MB, free: 15.36 MB / 282.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.CombiTable2Ds.Test29,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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 377.3 MB, free: 25.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.664e-05, allocations: 6.312 kB / 377.3 MB, free: 25.55 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.002076/0.002103, allocations: 1.686 MB / 379 MB, free: 23.85 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006701/0.002773, allocations: 0.5374 MB / 379.5 MB, free: 23.3 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.914e-05/0.002832, allocations: 4 kB / 379.5 MB, free: 23.3 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002308/0.003063, allocations: 67.72 kB / 379.6 MB, free: 23.23 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002715/0.003334, allocations: 111.5 kB / 379.7 MB, free: 23.12 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.003584, allocations: 131.6 kB / 379.8 MB, free: 23 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.003716, allocations: 83.7 kB / 379.9 MB, free: 22.91 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.148e-05/0.003808, allocations: 28.14 kB / 379.9 MB, free: 22.88 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.653e-05/0.003874, allocations: 43.89 kB / 380 MB, free: 22.84 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.346e-05/0.003958, allocations: 51.88 kB / 380 MB, free: 22.79 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.003971, allocations: 4 kB / 380 MB, free: 22.79 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.336e-05/0.004054, allocations: 47.92 kB / 380.1 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.294e-05/0.004117, allocations: 31.84 kB / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.004136, allocations: 19.92 kB / 380.1 MB, free: 22.69 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.004274, allocations: 95.66 kB / 380.2 MB, free: 22.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.004275, allocations: 0 / 380.2 MB, free: 22.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.004276, allocations: 0 / 380.2 MB, free: 22.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.004281, allocations: 4 kB / 380.2 MB, free: 22.59 MB / 314.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.0003142/0.004595, allocations: 459.8 kB / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.004626, allocations: 15.98 kB / 380.7 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.00466, allocations: 16.84 kB / 380.7 MB, free: 22.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.004762, allocations: 149.1 kB / 380.9 MB, free: 21.9 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-06/0.00477, allocations: 384 / 380.9 MB, free: 21.9 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.004787, allocations: 8.375 kB / 380.9 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.512e-05/0.004872, allocations: 66.88 kB / 380.9 MB, free: 21.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.00488, allocations: 192 / 380.9 MB, free: 21.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.004887, allocations: 8.109 kB / 380.9 MB, free: 21.81 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.004892, allocations: 8 kB / 380.9 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.348e-05/0.004915, allocations: 11.92 kB / 381 MB, free: 21.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001986/0.005114, allocations: 276.2 kB / 381.2 MB, free: 21.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.005233, allocations: 47.05 kB / 381.3 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.392e-05/0.005247, allocations: 11.69 kB / 381.3 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.005262, allocations: 11.92 kB / 381.3 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.005276, allocations: 41.42 kB / 381.3 MB, free: 21.36 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.005277, allocations: 0 / 381.3 MB, free: 21.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004582/0.005735, allocations: 217.4 kB / 381.5 MB, free: 21.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.057e-05/0.005755, allocations: 55.39 kB / 381.6 MB, free: 21.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.653e-05/0.005832, allocations: 230.8 kB / 381.8 MB, free: 20.83 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.042e-06/0.005838, allocations: 29.7 kB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.407e-05/0.005872, allocations: 162.8 kB / 382 MB, free: 20.63 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.005893, allocations: 35.69 kB / 382 MB, free: 20.6 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.005923, allocations: 31.36 kB / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.964e-05/0.005962, allocations: 0.4961 MB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/0.005979, allocations: 15.98 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.79e-05/0.005997, allocations: 19.59 kB / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.068e-05/0.006038, allocations: 43.61 kB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.006039, allocations: 0.5625 kB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.084e-05/0.00612, allocations: 93.52 kB / 382.7 MB, free: 19.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.006131, allocations: 6.031 kB / 382.7 MB, free: 19.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.006135, allocations: 0 / 382.7 MB, free: 19.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.006144, allocations: 4 kB / 382.8 MB, free: 19.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.75e-05/0.006202, allocations: 23.92 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-06/0.006205, allocations: 7.984 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.353e-05/0.006229, allocations: 8 kB / 382.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.006235, allocations: 4 kB / 382.8 MB, free: 19.82 MB / 314.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 5.376e-05/0.006288, allocations: 164.5 kB / 383 MB, free: 19.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.006313, allocations: 19.91 kB / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.006435, allocations: 99.06 kB / 383.1 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.006437, allocations: 0 / 383.1 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.006439, allocations: 0 / 383.1 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.006442, allocations: 4 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.006674, allocations: 389.2 kB / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.006676, allocations: 0 / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.69e-05/0.006723, allocations: 27.92 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.006726, allocations: 0 / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.361e-06/0.006732, allocations: 4 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.006734, allocations: 0 / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.006736, allocations: 0 / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.51e-05/0.006831, allocations: 255.1 kB / 383.7 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.00684, allocations: 15.84 kB / 383.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.006852, allocations: 4 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.056e-05/0.006892, allocations: 15.98 kB / 383.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.721e-05/0.006919, allocations: 11.92 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.006926, allocations: 8 kB / 383.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.075e-05/0.006966, allocations: 167.1 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006966, allocations: 0 / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001711/0.007137, allocations: 23.94 kB / 384 MB, free: 18.55 MB / 314.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.0008894/0.008027, allocations: 434.4 kB / 384.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001049/0.008132, allocations: 55.59 kB / 384.5 MB, free: 18.23 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.008134, allocations: 4 kB / 384.5 MB, free: 18.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.915e-05/0.008163, allocations: 31.61 kB / 384.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.008384, allocations: 29.17 kB / 384.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003006/0.008684, allocations: 275 kB / 384.8 MB, free: 17.87 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.882e-05/0.008713, allocations: 75.2 kB / 384.9 MB, free: 17.78 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.007e-05/0.008753, allocations: 24.59 kB / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.008e-05/0.008803, allocations: 82.19 kB / 385 MB, free: 17.67 MB / 314.7 MB Notification: Performance of SimCode: time 7.32e-07/0.008804, allocations: 0 / 385 MB, free: 17.67 MB / 314.7 MB Notification: Performance of Templates: time 0.003239/0.01204, allocations: 1.77 MB / 386.7 MB, free: 15.92 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.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.3115064916200936]