Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.001037/0.001037, allocations: 77.88 kB / 21.42 MB, free: 3.078 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.001074/0.001074, allocations: 167.1 kB / 24.82 MB, free: 8.875 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 1.026/1.026, allocations: 177.2 MB / 205.3 MB, free: 5.496 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.2945/0.2945, allocations: 34.27 MB / 296.1 MB, free: 0.7305 MB / 266.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.768e-05, allocations: 2.312 kB / 378.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003948/0.003976, allocations: 1.692 MB / 380.2 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008867/0.004862, allocations: 0.5413 MB / 380.8 MB, free: 124 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.085e-05/0.004933, allocations: 4 kB / 380.8 MB, free: 120 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005168/0.00545, allocations: 451.1 kB / 381.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000449/0.005899, allocations: 291.2 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.006225, allocations: 135.5 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002474/0.006472, allocations: 175.6 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.193e-05/0.006564, allocations: 11.98 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.006707, allocations: 127.7 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.006918, allocations: 243.6 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.006937, allocations: 8 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.544e-05/0.007022, allocations: 31.92 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.502e-05/0.007117, allocations: 83.72 kB / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.799e-05/0.007155, allocations: 43.67 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.007405, allocations: 195.2 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.00741, allocations: 4 kB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.007411, allocations: 0 / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.007416, allocations: 0 / 382.5 MB, free: 14.35 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006512/0.008067, allocations: 0.7009 MB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.008113, allocations: 12.03 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.919e-05/0.008192, allocations: 48.66 kB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.008425, allocations: 244.8 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.008437, allocations: 8.375 kB / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.008462, allocations: 4.375 kB / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.008601, allocations: 62.88 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.008611, allocations: 192 / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.00862, allocations: 4.125 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.008628, allocations: 4 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.826e-05/0.008657, allocations: 7.984 kB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.009088, allocations: 340.3 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.298e-05/0.009171, allocations: 50.92 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.319e-05/0.009194, allocations: 15.67 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.009224, allocations: 0 / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.009252, allocations: 45.33 kB / 384.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.009253, allocations: 0 / 384.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004272/0.00968, allocations: 149.3 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.009713, allocations: 51.41 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004001/0.01011, allocations: 0.6117 MB / 384.9 MB, free: 11.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.01013, allocations: 25.7 kB / 384.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.01028, allocations: 294.8 kB / 385.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.01031, allocations: 27.78 kB / 385.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.01036, allocations: 23.38 kB / 385.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.01053, allocations: 0.5625 MB / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.01055, allocations: 4 kB / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.577e-05/0.01056, allocations: 4 kB / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.403e-05/0.01061, allocations: 31.61 kB / 385.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.01061, allocations: 0 / 385.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001072/0.01071, allocations: 105.3 kB / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.01073, allocations: 4 kB / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.01073, allocations: 8 kB / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/0.01074, allocations: 0 / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.195e-05/0.01082, allocations: 15.98 kB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.01083, allocations: 0 / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.163e-05/0.01086, allocations: 7.938 kB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.01086, allocations: 0 / 386 MB, free: 10.71 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 (7): * Single equations (assignments): 7 * 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 9.066e-05/0.01096, allocations: 164.5 kB / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/0.011, allocations: 51.64 kB / 386.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.01116, allocations: 97.55 kB / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.01116, allocations: 0 / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.01116, allocations: 4 kB / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.01117, allocations: 0 / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003509/0.01152, allocations: 406.2 kB / 386.7 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.01152, allocations: 0 / 386.7 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.692e-05/0.01158, allocations: 19.98 kB / 386.7 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.01158, allocations: 3.938 kB / 386.7 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.01159, allocations: 4 kB / 386.7 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.01159, allocations: 0 / 386.7 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.01159, allocations: 0 / 386.7 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.01175, allocations: 259.5 kB / 387 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.01178, allocations: 39.72 kB / 387 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.0118, allocations: 4 kB / 387 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.765e-05/0.01184, allocations: 11.98 kB / 387 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.01187, allocations: 3.984 kB / 387 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.01188, allocations: 4 kB / 387 MB, free: 9.582 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002329/0.01211, allocations: 390.7 kB / 387.4 MB, free: 9.203 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01211, allocations: 0 / 387.4 MB, free: 9.203 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001853/0.0123, allocations: 28 kB / 387.4 MB, free: 9.176 MB / 362.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 (7): * Single equations (assignments): 7 * 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.0008269/0.01312, allocations: 380.2 kB / 387.8 MB, free: 8.938 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.106e-05/0.01321, allocations: 39.61 kB / 387.8 MB, free: 8.895 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01322, allocations: 0 / 387.8 MB, free: 8.895 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.446e-05/0.01324, allocations: 27.67 kB / 387.9 MB, free: 8.863 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.01347, allocations: 36.89 kB / 387.9 MB, free: 8.832 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005871/0.01406, allocations: 0.5863 MB / 388.5 MB, free: 8.215 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.395e-05/0.01413, allocations: 115.3 kB / 388.6 MB, free: 8.082 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.686e-05/0.01417, allocations: 16.28 kB / 388.6 MB, free: 8.066 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.137e-05/0.01423, allocations: 78.2 kB / 388.7 MB, free: 7.988 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01423, allocations: 0 / 388.7 MB, free: 7.988 MB / 362.7 MB Notification: Performance of Templates: time 0.004043/0.01827, allocations: 1.624 MB / 390.3 MB, free: 6.371 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.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.2968480777926743]