Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.001664/0.001664, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 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.002367/0.002367, allocations: 209.6 kB / 23.73 MB, free: 4.41 MB / 14.72 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.533/1.533, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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.2568/0.2568, allocations: 44.93 MB / 358.8 MB, free: 6.059 MB / 286.1 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.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 73.61 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3157, allocations: 65.48 MB / 0.5575 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.00324/0.319, allocations: 1.586 MB / 0.559 GB, free: 5.867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.3211, allocations: 1.232 MB / 0.5602 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.328e-05/0.3211, allocations: 8 kB / 0.5602 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.3213, allocations: 23.8 kB / 0.5603 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000338/0.3217, allocations: 83.67 kB / 0.5603 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.322, allocations: 115.5 kB / 0.5604 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.3221, allocations: 67.78 kB / 0.5605 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.3223, allocations: 15.97 kB / 0.5605 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.193e-05/0.3223, allocations: 27.86 kB / 0.5606 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.3224, allocations: 31.8 kB / 0.5606 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.3225, allocations: 8 kB / 0.5606 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.3226, allocations: 87.94 kB / 0.5607 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.41e-05/0.3227, allocations: 15.92 kB / 0.5607 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.827e-05/0.3227, allocations: 19.86 kB / 0.5607 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.323, allocations: 141.9 kB / 0.5608 GB, free: 4.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.323, allocations: 4 kB / 0.5609 GB, free: 4 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.323, allocations: 0 / 0.5609 GB, free: 4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.323, allocations: 0 / 0.5609 GB, free: 4 MB / 398.1 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.0005314/0.3235, allocations: 325.7 kB / 0.5612 GB, free: 3.652 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.3236, allocations: 8.031 kB / 0.5612 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.3236, allocations: 12.89 kB / 0.5612 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.3238, allocations: 138.4 kB / 0.5613 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.3239, allocations: 384 / 0.5613 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.3239, allocations: 4.375 kB / 0.5613 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.3241, allocations: 105.1 kB / 0.5614 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3241, allocations: 0 / 0.5614 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.3241, allocations: 0 / 0.5614 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3241, allocations: 0 / 0.5614 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.717e-05/0.3242, allocations: 27.97 kB / 0.5614 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.3246, allocations: 228.5 kB / 0.5617 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.3248, allocations: 50.48 kB / 0.5617 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.116e-05/0.3248, allocations: 16.86 kB / 0.5617 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.3248, allocations: 0 / 0.5617 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.3249, allocations: 34.64 kB / 0.5618 GB, free: 2.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.3249, allocations: 0 / 0.5618 GB, free: 2.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006158/0.3255, allocations: 149.4 kB / 0.5619 GB, free: 2.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.49e-05/0.3256, allocations: 85.09 kB / 0.562 GB, free: 2.691 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.3258, allocations: 141.8 kB / 0.5621 GB, free: 2.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.3258, allocations: 25.7 kB / 0.5621 GB, free: 2.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.825e-05/0.3259, allocations: 92.14 kB / 0.5622 GB, free: 2.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.3259, allocations: 27.78 kB / 0.5623 GB, free: 2.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.3259, allocations: 13.72 kB / 0.5623 GB, free: 2.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.3261, allocations: 322.8 kB / 0.5626 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.264e-05/0.3261, allocations: 19.98 kB / 0.5626 GB, free: 2.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.3263, allocations: 67.34 kB / 0.5627 GB, free: 1.949 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.3264, allocations: 60.78 kB / 0.5627 GB, free: 1.887 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3264, allocations: 0 / 0.5627 GB, free: 1.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001959/0.3266, allocations: 81.62 kB / 0.5628 GB, free: 1.801 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.3266, allocations: 11.94 kB / 0.5628 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3266, allocations: 0 / 0.5628 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3266, allocations: 0 / 0.5628 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.482e-05/0.3267, allocations: 11.98 kB / 0.5628 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.3267, allocations: 0 / 0.5628 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.477e-05/0.3267, allocations: 12.23 kB / 0.5628 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.3268, allocations: 8 kB / 0.5628 GB, free: 1.758 MB / 398.1 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.038e-05/0.3269, allocations: 117.8 kB / 0.563 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.3269, allocations: 11.89 kB / 0.563 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002658/0.3272, allocations: 98.05 kB / 0.5631 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3272, allocations: 4 kB / 0.5631 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3272, allocations: 0 / 0.5631 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3272, allocations: 0 / 0.5631 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004356/0.3276, allocations: 306.1 kB / 0.5634 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3276, allocations: 0 / 0.5634 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.795e-05/0.3277, allocations: 11.98 kB / 0.5634 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.3277, allocations: 4 kB / 0.5634 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.3277, allocations: 4 kB / 0.5634 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3277, allocations: 0 / 0.5634 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3277, allocations: 0 / 0.5634 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.3279, allocations: 183.4 kB / 0.5635 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.73e-05/0.3279, allocations: 11.95 kB / 0.5636 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.328, allocations: 0 / 0.5636 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.874e-05/0.328, allocations: 11.98 kB / 0.5636 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.3281, allocations: 7.875 kB / 0.5636 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.944e-06/0.3281, allocations: 4 kB / 0.5636 GB, free: 0.918 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.3282, allocations: 113.4 kB / 0.5637 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3282, allocations: 0 / 0.5637 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002865/0.3285, allocations: 39.86 kB / 0.5637 GB, free: 0.7695 MB / 398.1 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.001844/0.3303, allocations: 0.5213 MB / 0.5642 GB, free: 472 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002153/0.3305, allocations: 59.95 kB / 0.5643 GB, free: 412 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3305, allocations: 0 / 0.5643 GB, free: 412 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.751e-05/0.3306, allocations: 27.92 kB / 0.5643 GB, free: 384 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.331, allocations: 25.47 kB / 0.5643 GB, free: 364 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003985/0.3314, allocations: 165.6 kB / 0.5645 GB, free: 172 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.322e-05/0.3314, allocations: 83.02 kB / 0.5646 GB, free: 68 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.648e-05/0.3315, allocations: 19.77 kB / 0.5646 GB, free: 48 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.203e-05/0.3316, allocations: 27.36 kB / 0.5646 GB, free: 24 kB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3316, allocations: 0 / 0.5646 GB, free: 24 kB / 398.1 MB Notification: Performance of Templates: time 0.004926/0.3365, allocations: 1.827 MB / 0.5664 GB, free: 14.21 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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: 5.250326065346599]