Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.0009708/0.0009708, 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.001051/0.001051, 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.9404/0.9404, 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.1372/0.1372, 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.143e-06/1.143e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.096e-05, allocations: 9.547 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.001781/0.001802, allocations: 1.651 MB / 381 MB, free: 21.76 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005551/0.002357, allocations: 0.5142 MB / 381.5 MB, free: 21.24 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.581e-05/0.002402, allocations: 3.938 kB / 381.5 MB, free: 21.24 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003509/0.002753, allocations: 451 kB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002993/0.003053, allocations: 299.2 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.003245, allocations: 119.6 kB / 382.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.003381, allocations: 167.6 kB / 382.5 MB, free: 20.22 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.442e-05/0.003455, allocations: 19.84 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.449e-05/0.00354, allocations: 119.8 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.003676, allocations: 243.6 kB / 382.9 MB, free: 19.85 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.003688, allocations: 0 / 382.9 MB, free: 19.85 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.977e-05/0.003738, allocations: 27.92 kB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.483e-05/0.003803, allocations: 79.72 kB / 383 MB, free: 19.74 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.515e-05/0.003828, allocations: 39.69 kB / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.003975, allocations: 195.2 kB / 383.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003977, allocations: 0 / 383.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.003978, allocations: 4 kB / 383.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.003982, allocations: 0 / 383.2 MB, free: 19.51 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003706/0.004353, allocations: 0.6931 MB / 383.9 MB, free: 18.78 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.787e-05/0.004381, allocations: 12.02 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.004418, allocations: 44.66 kB / 383.9 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.004544, allocations: 240.9 kB / 384.2 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.004553, allocations: 384 / 384.2 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-06/0.004559, allocations: 4.312 kB / 384.2 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.636e-05/0.004636, allocations: 62.94 kB / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.004643, allocations: 4.188 kB / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-06/0.004649, allocations: 4.125 kB / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.004653, allocations: 0 / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.627e-05/0.00467, allocations: 4 kB / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/0.004889, allocations: 332.3 kB / 384.6 MB, free: 18.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.912e-05/0.004938, allocations: 35 kB / 384.6 MB, free: 17.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.276e-05/0.004951, allocations: 7.688 kB / 384.6 MB, free: 17.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.004964, allocations: 4 kB / 384.6 MB, free: 17.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/0.004978, allocations: 41.41 kB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.004979, allocations: 4 kB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001237/0.005102, allocations: 89.34 kB / 384.8 MB, free: 17.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.739e-05/0.00512, allocations: 59.34 kB / 384.8 MB, free: 17.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.005368, allocations: 0.6001 MB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.611e-06/0.005373, allocations: 25.7 kB / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.214e-05/0.005465, allocations: 298.7 kB / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.005481, allocations: 11.94 kB / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/0.005503, allocations: 19.38 kB / 385.8 MB, free: 16.76 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.013e-05/0.005573, allocations: 0.5547 MB / 386.3 MB, free: 16.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.056e-05/0.005584, allocations: 7.984 kB / 386.3 MB, free: 16.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.777e-06/0.005592, allocations: 0 / 386.3 MB, free: 16.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.418e-05/0.005617, allocations: 19.69 kB / 386.3 MB, free: 16.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.005618, allocations: 0 / 386.3 MB, free: 16.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.178e-05/0.00568, allocations: 93.66 kB / 386.4 MB, free: 16.06 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.005691, allocations: 10.28 kB / 386.5 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.005695, allocations: 0 / 386.5 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.146e-06/0.005703, allocations: 0 / 386.5 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.498e-05/0.005758, allocations: 15.98 kB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-06/0.00576, allocations: 0 / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.811e-05/0.005788, allocations: 0 / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.005793, allocations: 4 kB / 386.5 MB, free: 16.04 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 (3): * Single equations (assignments): 3 * 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.881e-05/0.005842, allocations: 156.6 kB / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.005869, allocations: 47.66 kB / 386.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.532e-05/0.005954, allocations: 81.09 kB / 386.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.005957, allocations: 4 kB / 386.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.005958, allocations: 0 / 386.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.005961, allocations: 3.984 kB / 386.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.006083, allocations: 205 kB / 387 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.006083, allocations: 0 / 387 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.2e-05/0.006105, allocations: 11.98 kB / 387 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.006107, allocations: 0 / 387 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-06/0.006111, allocations: 4 kB / 387 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.006112, allocations: 3.938 kB / 387 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.006113, allocations: 0 / 387 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.605e-05/0.006179, allocations: 227.7 kB / 387.2 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.946e-05/0.006198, allocations: 43.66 kB / 387.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.006211, allocations: 0 / 387.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.006e-05/0.006251, allocations: 19.86 kB / 387.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.457e-06/0.00626, allocations: 0 / 387.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-06/0.006262, allocations: 0 / 387.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001398/0.006402, allocations: 394.7 kB / 387.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006402, allocations: 0 / 387.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001695/0.006572, allocations: 23.94 kB / 387.7 MB, free: 14.77 MB / 314.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 (3): * Single equations (assignments): 3 * 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.0006412/0.007213, allocations: 325.9 kB / 388 MB, free: 14.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.21e-05/0.007275, allocations: 23.67 kB / 388 MB, free: 14.53 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.007276, allocations: 0 / 388 MB, free: 14.53 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.658e-06/0.007286, allocations: 11.69 kB / 388 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.007502, allocations: 28.8 kB / 388.1 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004356/0.007938, allocations: 0.5664 MB / 388.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.89e-05/0.007987, allocations: 123.2 kB / 388.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.508e-05/0.008012, allocations: 4 kB / 388.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.008053, allocations: 82.19 kB / 388.8 MB, free: 13.67 MB / 314.7 MB Notification: Performance of SimCode: time 6.22e-07/0.008053, allocations: 0 / 388.8 MB, free: 13.67 MB / 314.7 MB Notification: Performance of Templates: time 0.00318/0.01123, allocations: 1.289 MB / 390.1 MB, free: 12.39 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.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.054478521924466]