Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.001035/0.001035, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001085/0.001085, allocations: 161 kB / 24.56 MB, free: 16 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 0.9841/0.9841, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2491/0.2491, allocations: 32.81 MB / 294.3 MB, free: 1.273 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.438e-06/4.438e-06, allocations: 4 kB / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.966e-05, allocations: 6.312 kB / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002931/0.002961, allocations: 1.688 MB / 377.7 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.004049, allocations: 0.5725 MB / 378.3 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.511e-05/0.004124, allocations: 0 / 378.3 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006621/0.004786, allocations: 455 kB / 378.7 MB, free: 1.91 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005043/0.00529, allocations: 303.1 kB / 379 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004253/0.005716, allocations: 167.5 kB / 379.2 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002605/0.005976, allocations: 175.7 kB / 379.4 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.006093, allocations: 16 kB / 379.4 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.006238, allocations: 123.8 kB / 379.5 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002723/0.006511, allocations: 243.5 kB / 379.7 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.006536, allocations: 4 kB / 379.8 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.747e-05/0.006634, allocations: 31.92 kB / 379.8 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.006748, allocations: 91.64 kB / 379.9 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.519e-05/0.006803, allocations: 35.75 kB / 379.9 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.007098, allocations: 195.2 kB / 380.1 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.007101, allocations: 4 kB / 380.1 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.007103, allocations: 7.938 kB / 380.1 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.007108, allocations: 0 / 380.1 MB, free: 0.5391 MB / 346.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.0007319/0.00784, allocations: 0.6931 MB / 380.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.007881, allocations: 11.97 kB / 380.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.583e-05/0.007957, allocations: 44.66 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.008208, allocations: 248.8 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.00822, allocations: 4.375 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.008251, allocations: 4.375 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.008394, allocations: 54.95 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.008407, allocations: 4.188 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.00842, allocations: 12.06 kB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.00843, allocations: 0 / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.605e-05/0.008476, allocations: 11.98 kB / 381.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005566/0.009032, allocations: 423.6 kB / 381.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.009225, allocations: 50.92 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.909e-05/0.009255, allocations: 15.67 kB / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.009279, allocations: 0 / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.009305, allocations: 37.39 kB / 381.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.009306, allocations: 0 / 381.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004935/0.009799, allocations: 196.7 kB / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.009835, allocations: 55.41 kB / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000616/0.01045, allocations: 0.6238 MB / 382.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.01057, allocations: 29.7 kB / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.01077, allocations: 286.9 kB / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.0108, allocations: 19.8 kB / 382.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.01084, allocations: 23.38 kB / 382.9 MB, free: 13.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.01105, allocations: 0.5547 MB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.492e-05/0.01107, allocations: 4 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.099e-05/0.01109, allocations: 4 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.764e-05/0.01115, allocations: 39.55 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01115, allocations: 0 / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001377/0.01129, allocations: 93.67 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.01131, allocations: 4 kB / 383.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.01131, allocations: 0 / 383.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.01133, allocations: 0 / 383.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.737e-05/0.0114, allocations: 15.98 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.0114, allocations: 4 kB / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.111e-05/0.01145, allocations: 0 / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.01145, allocations: 3.938 kB / 383.6 MB, free: 12.79 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 (5): * Single equations (assignments): 5 * 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.56e-05/0.01155, allocations: 172.5 kB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.433e-05/0.0116, allocations: 43.72 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.01178, allocations: 93.17 kB / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.01178, allocations: 0 / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.01179, allocations: 4 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01179, allocations: 0 / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004788/0.01227, allocations: 469.3 kB / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.01227, allocations: 0 / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.649e-05/0.01232, allocations: 11.98 kB / 384.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.01232, allocations: 0 / 384.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.01233, allocations: 8 kB / 384.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01234, allocations: 0 / 384.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01234, allocations: 0 / 384.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.0125, allocations: 243.6 kB / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.01254, allocations: 35.67 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.01257, allocations: 4 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.101e-05/0.01265, allocations: 3.984 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.01269, allocations: 8 kB / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.0127, allocations: 192 / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004031/0.0131, allocations: 430.7 kB / 385.1 MB, free: 11.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0131, allocations: 0 / 385.1 MB, free: 11.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002652/0.01337, allocations: 28 kB / 385.2 MB, free: 11.19 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 (5): * Single equations (assignments): 5 * 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.0008684/0.01423, allocations: 398.5 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001002/0.01434, allocations: 31.67 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01434, allocations: 0 / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.559e-05/0.01436, allocations: 27.61 kB / 385.6 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.0146, allocations: 21.97 kB / 385.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006116/0.01521, allocations: 0.5785 MB / 386.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.906e-05/0.01529, allocations: 119.2 kB / 386.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.83e-05/0.01533, allocations: 15.92 kB / 386.3 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.944e-05/0.01536, allocations: 12.5 kB / 386.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01536, allocations: 4 kB / 386.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of Templates: time 0.004087/0.01944, allocations: 1.397 MB / 387.8 MB, free: 8.684 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.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.3892453042790294]