Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.0009169/0.0009169, allocations: 80.41 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.001403/0.001403, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.9875/0.9875, allocations: 177.1 MB / 206 MB, free: 4.5 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.1442/0.1442, allocations: 34.26 MB / 296.9 MB, free: 13.95 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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,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.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 3.938 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.363e-05, allocations: 5.547 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.002025/0.002049, allocations: 1.698 MB / 381 MB, free: 21.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006388/0.002688, allocations: 0.5374 MB / 381.6 MB, free: 21.15 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.337e-05/0.002741, allocations: 0 / 381.6 MB, free: 21.15 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002299/0.002971, allocations: 43.75 kB / 381.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.003224, allocations: 103.5 kB / 381.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.003458, allocations: 131.6 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.003592, allocations: 79.75 kB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.357e-05/0.003686, allocations: 16.17 kB / 381.9 MB, free: 20.78 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.648e-05/0.003752, allocations: 47.88 kB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.781e-05/0.00383, allocations: 39.89 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.003846, allocations: 8 kB / 382 MB, free: 20.69 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.108e-05/0.003927, allocations: 51.86 kB / 382.1 MB, free: 20.64 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.974e-05/0.003987, allocations: 23.92 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.012e-05/0.004007, allocations: 23.91 kB / 382.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.004146, allocations: 87.66 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.004149, allocations: 0 / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.00415, allocations: 0 / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.004154, allocations: 0 / 382.2 MB, free: 20.5 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.0003237/0.004477, allocations: 439.9 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.004512, allocations: 8.031 kB / 382.6 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.004548, allocations: 20.89 kB / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.004655, allocations: 141 kB / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.004664, allocations: 384 / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.004683, allocations: 8.359 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.75e-05/0.00478, allocations: 70.62 kB / 382.9 MB, free: 19.76 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.004792, allocations: 3.953 kB / 382.9 MB, free: 19.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.004803, allocations: 0 / 382.9 MB, free: 19.76 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.004809, allocations: 4 kB / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.452e-05/0.004833, allocations: 7.984 kB / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002149/0.005048, allocations: 272.4 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.005181, allocations: 55.02 kB / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.005199, allocations: 11.69 kB / 383.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.005214, allocations: 0 / 383.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.005232, allocations: 45.52 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 7.01e-07/0.005233, allocations: 0 / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004962/0.005729, allocations: 233.5 kB / 383.5 MB, free: 19.08 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.005756, allocations: 55.41 kB / 383.5 MB, free: 19.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.675e-05/0.005833, allocations: 212.6 kB / 383.7 MB, free: 18.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.005841, allocations: 25.7 kB / 383.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.238e-05/0.005873, allocations: 154.8 kB / 383.9 MB, free: 18.61 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.005896, allocations: 35.62 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.005928, allocations: 39.34 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.757e-05/0.005976, allocations: 0.4961 MB / 384.5 MB, free: 18.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.95e-05/0.005995, allocations: 8 kB / 384.5 MB, free: 18.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.786e-05/0.006013, allocations: 15.98 kB / 384.5 MB, free: 17.99 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.263e-05/0.006056, allocations: 39.66 kB / 384.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.006057, allocations: 4 kB / 384.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.107e-05/0.006148, allocations: 89.84 kB / 384.6 MB, free: 17.85 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.00616, allocations: 6.344 kB / 384.7 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.006165, allocations: 0 / 384.7 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/0.006174, allocations: 0 / 384.7 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.704e-05/0.006241, allocations: 23.98 kB / 384.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.006244, allocations: 0 / 384.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.495e-05/0.006269, allocations: 11.98 kB / 384.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/0.006275, allocations: 3.938 kB / 384.7 MB, free: 17.81 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.87e-05/0.006324, allocations: 168.5 kB / 384.9 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.006348, allocations: 15.91 kB / 384.9 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/0.006477, allocations: 102.4 kB / 385 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.00648, allocations: 4 kB / 385 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.006482, allocations: 0 / 385 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.006485, allocations: 0 / 385 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.006738, allocations: 385.1 kB / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.00674, allocations: 0 / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-05/0.006793, allocations: 19.98 kB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.006796, allocations: 4.062 kB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.006802, allocations: 4 kB / 385.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.006804, allocations: 4 kB / 385.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.006806, allocations: 7.875 kB / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001/0.006906, allocations: 251.4 kB / 385.6 MB, free: 16.78 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.155e-05/0.006918, allocations: 15.91 kB / 385.7 MB, free: 16.76 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.00693, allocations: 8 kB / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.133e-05/0.006972, allocations: 7.984 kB / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.007001, allocations: 15.92 kB / 385.7 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.007006, allocations: 0 / 385.7 MB, free: 16.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.766e-05/0.007043, allocations: 154.4 kB / 385.8 MB, free: 16.58 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007043, allocations: 4 kB / 385.8 MB, free: 16.58 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001803/0.007224, allocations: 31.88 kB / 385.9 MB, free: 16.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.0008977/0.008121, allocations: 422.8 kB / 386.3 MB, free: 16.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001043/0.008226, allocations: 55.59 kB / 386.3 MB, free: 16.23 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.008228, allocations: 0 / 386.3 MB, free: 16.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.016e-05/0.008258, allocations: 35.61 kB / 386.4 MB, free: 16.2 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.008486, allocations: 26.61 kB / 386.4 MB, free: 16.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003162/0.008803, allocations: 261.4 kB / 386.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.95e-05/0.008832, allocations: 67.33 kB / 386.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.044e-05/0.008873, allocations: 24.41 kB / 386.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.298e-05/0.008926, allocations: 86.19 kB / 386.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of SimCode: time 7.42e-07/0.008926, allocations: 3.938 kB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of Templates: time 0.003311/0.01224, allocations: 1.742 MB / 388.6 MB, free: 13.96 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.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.0740548679605126]