Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.001528/0.001528, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.00167/0.00167, allocations: 161.6 kB / 24.27 MB, free: 172 kB / 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.49/1.49, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.359/0.359, allocations: 34.27 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.923e-05/3.06e-05, allocations: 2.312 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003285/0.003316, allocations: 1.658 MB / 379 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002111/0.005426, allocations: 1.282 MB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.035e-05/0.005487, allocations: 0 / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.005743, allocations: 23.7 kB / 380.3 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003637/0.006106, allocations: 91.5 kB / 380.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004501/0.006557, allocations: 179.5 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.006731, allocations: 79.7 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.006842, allocations: 15.98 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.371e-05/0.006926, allocations: 39.91 kB / 380.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.007048, allocations: 27.89 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.007073, allocations: 12 kB / 380.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.007256, allocations: 95.81 kB / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.702e-05/0.007324, allocations: 15.92 kB / 380.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.299e-05/0.007366, allocations: 12 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003212/0.007688, allocations: 163.4 kB / 381 MB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.007691, allocations: 0 / 381 MB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.007692, allocations: 0 / 381 MB, free: 15.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.007697, allocations: 4 kB / 381 MB, free: 15.25 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.000631/0.008328, allocations: 337.6 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.008366, allocations: 8.031 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.174e-05/0.008428, allocations: 16.89 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.008668, allocations: 151.4 kB / 381.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.008679, allocations: 384 / 381.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.00871, allocations: 8.375 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.00896, allocations: 101.6 kB / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.008971, allocations: 192 / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.008986, allocations: 4.125 kB / 381.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.00899, allocations: 0 / 381.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.009144, allocations: 43.91 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000461/0.009605, allocations: 244.5 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.009758, allocations: 42.55 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.184e-05/0.00984, allocations: 28.88 kB / 382 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.009866, allocations: 4 kB / 382 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.009904, allocations: 38.5 kB / 382 MB, free: 14.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.009905, allocations: 0 / 382 MB, free: 14.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009029/0.01081, allocations: 241.3 kB / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.01088, allocations: 81.11 kB / 382.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.01106, allocations: 143.7 kB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.01109, allocations: 25.7 kB / 382.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003297/0.01142, allocations: 96.12 kB / 382.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.909e-05/0.01146, allocations: 27.75 kB / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.01151, allocations: 25.72 kB / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.0117, allocations: 322.8 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.01183, allocations: 35.97 kB / 383 MB, free: 13.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.01199, allocations: 83.44 kB / 383.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.01223, allocations: 84.8 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.01223, allocations: 4.031 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003272/0.01256, allocations: 133.5 kB / 383.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.01258, allocations: 4 kB / 383.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01259, allocations: 0 / 383.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.01261, allocations: 0 / 383.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.01274, allocations: 19.98 kB / 383.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.01275, allocations: 0 / 383.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.604e-05/0.01282, allocations: 23.92 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.01283, allocations: 0 / 383.3 MB, free: 12.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 0.0001226/0.01295, allocations: 125.8 kB / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.347e-05/0.013, allocations: 11.95 kB / 383.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003967/0.01339, allocations: 142.3 kB / 383.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.0134, allocations: 0 / 383.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.0134, allocations: 0 / 383.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.01341, allocations: 8 kB / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006169/0.01402, allocations: 350 kB / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01402, allocations: 0 / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.024e-05/0.01411, allocations: 19.98 kB / 384 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.01412, allocations: 0 / 384 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.01413, allocations: 0 / 384 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.01413, allocations: 4 kB / 384 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01413, allocations: 0 / 384 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.01453, allocations: 227.8 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.179e-05/0.01455, allocations: 11.94 kB / 384.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.01457, allocations: 4 kB / 384.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.815e-05/0.01467, allocations: 12.27 kB / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.01471, allocations: 3.938 kB / 384.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.01472, allocations: 4 kB / 384.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001171/0.01484, allocations: 117.6 kB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01484, allocations: 4 kB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002993/0.01514, allocations: 47.8 kB / 384.4 MB, free: 11.57 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.002214/0.01735, allocations: 0.5263 MB / 384.9 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003291/0.01768, allocations: 83.94 kB / 385 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01768, allocations: 0 / 385 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.01783, allocations: 51.89 kB / 385 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.01822, allocations: 31.88 kB / 385.1 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005858/0.0188, allocations: 227.2 kB / 385.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.0189, allocations: 83.31 kB / 385.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.019, allocations: 29.02 kB / 385.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.47e-05/0.01906, allocations: 20.48 kB / 385.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01906, allocations: 0 / 385.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of Templates: time 0.006286/0.02534, allocations: 2 MB / 387.4 MB, free: 8.719 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.846953214961104]