Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001801/0.001801, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.001902/0.001902, allocations: 165.3 kB / 24.27 MB, free: 152 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.59/1.59, 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.3783/0.3783, allocations: 34.26 MB / 295.3 MB, free: 0.6953 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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 377.3 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.864e-05/4.088e-05, allocations: 2.312 kB / 377.3 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003565/0.003606, allocations: 1.669 MB / 379 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.004864, allocations: 0.5452 MB / 379.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.187e-05/0.004916, allocations: 0 / 379.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006841/0.0056, allocations: 455.1 kB / 380 MB, free: 256 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005343/0.006134, allocations: 291.2 kB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.00647, allocations: 135.5 kB / 380.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002604/0.00673, allocations: 183.6 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.314e-05/0.006814, allocations: 15.98 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.006983, allocations: 115.8 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003356/0.007318, allocations: 239.6 kB / 380.9 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.007346, allocations: 4 kB / 380.9 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.007466, allocations: 55.89 kB / 381 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.007577, allocations: 83.72 kB / 381.1 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.539e-05/0.007633, allocations: 35.75 kB / 381.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003794/0.008012, allocations: 267 kB / 381.4 MB, free: 14.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.008015, allocations: 0 / 381.4 MB, free: 14.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.008016, allocations: 0 / 381.4 MB, free: 14.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.008021, allocations: 0 / 381.4 MB, free: 14.85 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009251/0.008946, allocations: 0.7123 MB / 382.1 MB, free: 14.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.008978, allocations: 12.03 kB / 382.1 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.902e-05/0.009057, allocations: 48.64 kB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.009384, allocations: 252.8 kB / 382.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.009394, allocations: 4.375 kB / 382.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.009409, allocations: 4.375 kB / 382.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.009538, allocations: 62.23 kB / 382.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.009545, allocations: 192 / 382.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.009554, allocations: 4.125 kB / 382.5 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-06/0.009557, allocations: 3.938 kB / 382.5 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.51e-05/0.009642, allocations: 23.98 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006722/0.01031, allocations: 471.6 kB / 383 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.01043, allocations: 54.98 kB / 383 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.675e-05/0.01049, allocations: 27.8 kB / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.0105, allocations: 0 / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.01054, allocations: 37.39 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.11e-07/0.01054, allocations: 4 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.00114/0.01168, allocations: 288.6 kB / 383.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.01175, allocations: 59.39 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008638/0.01262, allocations: 0.6667 MB / 384.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.01264, allocations: 29.7 kB / 384.1 MB, free: 11.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000318/0.01296, allocations: 302.7 kB / 384.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.61e-05/0.013, allocations: 31.8 kB / 384.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.719e-05/0.01307, allocations: 27.38 kB / 384.5 MB, free: 11.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004275/0.0135, allocations: 0.5781 MB / 385 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.507e-05/0.01357, allocations: 16 kB / 385.1 MB, free: 10.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.083e-05/0.01364, allocations: 23.97 kB / 385.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.01378, allocations: 63.61 kB / 385.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.01378, allocations: 0 / 385.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002522/0.01403, allocations: 129.4 kB / 385.3 MB, free: 10.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.01406, allocations: 5.875 kB / 385.3 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.01406, allocations: 4 kB / 385.3 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.01408, allocations: 0 / 385.3 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.01419, allocations: 15.98 kB / 385.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.0142, allocations: 4 kB / 385.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.49e-05/0.01424, allocations: 0 / 385.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.01426, allocations: 15.92 kB / 385.3 MB, free: 10.7 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 (8): * Single equations (assignments): 8 * 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.000182/0.01444, allocations: 164.5 kB / 385.5 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-05/0.01452, allocations: 43.72 kB / 385.5 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003432/0.01486, allocations: 141.5 kB / 385.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01487, allocations: 0 / 385.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.01487, allocations: 4 kB / 385.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.01488, allocations: 432 / 385.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008521/0.01573, allocations: 0.5672 MB / 386.2 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01573, allocations: 7.938 kB / 386.2 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.257e-05/0.0158, allocations: 19.92 kB / 386.3 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.01581, allocations: 0 / 386.3 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.01582, allocations: 4 kB / 386.3 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.01582, allocations: 4.5 kB / 386.3 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.01582, allocations: 3.938 kB / 386.3 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003609/0.01618, allocations: 295.3 kB / 386.6 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.45e-05/0.01625, allocations: 35.72 kB / 386.6 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.01628, allocations: 4 kB / 386.6 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.979e-05/0.01636, allocations: 3.984 kB / 386.6 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.0164, allocations: 11.88 kB / 386.6 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.01641, allocations: 4 kB / 386.6 MB, free: 9.312 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005051/0.01691, allocations: 442.8 kB / 387 MB, free: 8.883 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01691, allocations: 0 / 387 MB, free: 8.883 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002585/0.01717, allocations: 28 kB / 387.1 MB, free: 8.855 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.003337/0.02051, allocations: 0.4887 MB / 387.6 MB, free: 8.574 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002456/0.02076, allocations: 75.59 kB / 387.6 MB, free: 8.496 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.02076, allocations: 0 / 387.6 MB, free: 8.496 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.02086, allocations: 35.67 kB / 387.7 MB, free: 8.457 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.02123, allocations: 29.89 kB / 387.7 MB, free: 8.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.02236, allocations: 0.6211 MB / 388.3 MB, free: 7.773 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.02263, allocations: 212 kB / 388.5 MB, free: 7.551 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.089e-05/0.02269, allocations: 13.03 kB / 388.5 MB, free: 7.535 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.064e-05/0.02273, allocations: 16.5 kB / 388.6 MB, free: 7.52 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.02273, allocations: 0 / 388.6 MB, free: 7.52 MB / 362.7 MB Notification: Performance of Templates: time 0.006221/0.02895, allocations: 1.567 MB / 390.1 MB, free: 5.961 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.875761586008593]