Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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.0009877/0.0009877, allocations: 81.97 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.001325/0.001325, allocations: 168.7 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.9043/0.9043, allocations: 177.1 MB / 206 MB, free: 4.477 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.159/0.159, allocations: 34.25 MB / 296.8 MB, free: 13.92 MB / 282.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.CombiTable2Ds.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,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.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.523e-05/1.626e-05, allocations: 2.312 kB / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.001807/0.001824, allocations: 1.69 MB / 381 MB, free: 21.67 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005925/0.002416, allocations: 0.5336 MB / 381.5 MB, free: 21.13 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/0.002465, allocations: 4 kB / 381.6 MB, free: 21.13 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001884/0.002654, allocations: 63.66 kB / 381.6 MB, free: 21.07 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.002886, allocations: 95.55 kB / 381.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.003101, allocations: 131.6 kB / 381.8 MB, free: 20.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.003219, allocations: 87.75 kB / 381.9 MB, free: 20.76 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.11e-05/0.0033, allocations: 16.16 kB / 381.9 MB, free: 20.74 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.785e-05/0.003358, allocations: 51.88 kB / 382 MB, free: 20.69 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.084e-05/0.003429, allocations: 39.89 kB / 382 MB, free: 20.65 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.00344, allocations: 4 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.588e-05/0.003516, allocations: 63.84 kB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.586e-05/0.003572, allocations: 19.92 kB / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.931e-05/0.003591, allocations: 19.86 kB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.003721, allocations: 95.7 kB / 382.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.003723, allocations: 0 / 382.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.003724, allocations: 0 / 382.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.003727, allocations: 0 / 382.2 MB, free: 20.45 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.0002954/0.004023, allocations: 451.9 kB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.004052, allocations: 8.031 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.004084, allocations: 12.89 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.819e-05/0.004182, allocations: 144.4 kB / 382.8 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.00419, allocations: 384 / 382.8 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.004206, allocations: 8.375 kB / 382.8 MB, free: 19.78 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.087e-05/0.004287, allocations: 62.94 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.004297, allocations: 12.05 kB / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.004303, allocations: 4.125 kB / 382.9 MB, free: 19.69 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.004308, allocations: 4 kB / 382.9 MB, free: 19.69 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.374e-05/0.004332, allocations: 15.98 kB / 382.9 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001875/0.00452, allocations: 268.3 kB / 383.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.004636, allocations: 51.08 kB / 383.2 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.999e-05/0.004656, allocations: 15.67 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.004672, allocations: 7.938 kB / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.331e-05/0.004685, allocations: 37.39 kB / 383.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 8.31e-07/0.004686, allocations: 0 / 383.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004571/0.005143, allocations: 229.3 kB / 383.5 MB, free: 19.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.932e-05/0.005163, allocations: 51.41 kB / 383.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.411e-05/0.005237, allocations: 216 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.102e-06/0.005243, allocations: 29.7 kB / 383.8 MB, free: 18.69 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/0.005276, allocations: 154.8 kB / 384 MB, free: 18.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.005298, allocations: 39.67 kB / 384 MB, free: 18.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.005328, allocations: 27.38 kB / 384 MB, free: 18.46 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.179e-05/0.00537, allocations: 0.5 MB / 384.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/0.005386, allocations: 11.98 kB / 384.5 MB, free: 17.94 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.782e-05/0.005404, allocations: 20.5 kB / 384.6 MB, free: 17.92 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.076e-05/0.005445, allocations: 40 kB / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.005446, allocations: 0 / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.92e-05/0.005525, allocations: 93.47 kB / 384.7 MB, free: 17.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.005534, allocations: 4 kB / 384.7 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.005539, allocations: 4 kB / 384.7 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.005546, allocations: 3.938 kB / 384.7 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.167e-05/0.005608, allocations: 27.97 kB / 384.7 MB, free: 17.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.005611, allocations: 0 / 384.7 MB, free: 17.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.312e-05/0.005634, allocations: 4 kB / 384.7 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.00564, allocations: 12 kB / 384.8 MB, free: 17.72 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 4.201e-05/0.005682, allocations: 160.5 kB / 384.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.005706, allocations: 19.89 kB / 384.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.00582, allocations: 98.38 kB / 385 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.005822, allocations: 0 / 385 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.005824, allocations: 3.984 kB / 385 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.005827, allocations: 0 / 385 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.006048, allocations: 385.1 kB / 385.4 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.00605, allocations: 8.062 kB / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-05/0.006094, allocations: 19.98 kB / 385.4 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.006096, allocations: 4 kB / 385.4 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.006102, allocations: 7.922 kB / 385.4 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.006104, allocations: 0 / 385.4 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.006106, allocations: 4 kB / 385.4 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.397e-05/0.0062, allocations: 259.1 kB / 385.7 MB, free: 16.69 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-06/0.006208, allocations: 7.953 kB / 385.7 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.006219, allocations: 8 kB / 385.7 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.061e-05/0.00626, allocations: 4 kB / 385.7 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.746e-05/0.006287, allocations: 15.92 kB / 385.7 MB, free: 16.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.006292, allocations: 4 kB / 385.7 MB, free: 16.65 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.468e-05/0.006326, allocations: 156.5 kB / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006326, allocations: 0 / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001746/0.006501, allocations: 27.98 kB / 385.9 MB, free: 16.47 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.000884/0.007385, allocations: 437.1 kB / 386.3 MB, free: 16.2 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.174e-05/0.007477, allocations: 51.59 kB / 386.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.007478, allocations: 0 / 386.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.93e-05/0.007508, allocations: 43.61 kB / 386.4 MB, free: 16.1 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.007714, allocations: 30.48 kB / 386.5 MB, free: 16.07 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002699/0.007984, allocations: 265.9 kB / 386.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.7e-05/0.008011, allocations: 63.34 kB / 386.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.776e-05/0.008049, allocations: 24.59 kB / 386.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.794e-05/0.008097, allocations: 82.19 kB / 386.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.008098, allocations: 0 / 386.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of Templates: time 0.002991/0.01109, allocations: 1.76 MB / 388.7 MB, free: 13.85 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.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.043304892256856]