Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.001047/0.001047, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001664/0.001664, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.047/1.047, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2545/0.2545, allocations: 32.8 MB / 294.6 MB, free: 1.25 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.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 3.938 kB / 323.3 MB, free: 9.637 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.255e-05, allocations: 4.422 kB / 323.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.005612/0.005635, allocations: 1.675 MB / 325 MB, free: 7.945 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008276/0.006462, allocations: 0.5258 MB / 325.5 MB, free: 7.414 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.396e-05/0.006516, allocations: 4 kB / 325.5 MB, free: 7.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.006736, allocations: 31.72 kB / 325.5 MB, free: 7.379 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.006973, allocations: 75.56 kB / 325.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.007185, allocations: 95.62 kB / 325.7 MB, free: 7.211 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.007308, allocations: 59.84 kB / 325.7 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.626e-05/0.007384, allocations: 15.97 kB / 325.8 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003071/0.01046, allocations: 27.86 kB / 325.8 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.644e-05/0.01051, allocations: 19.92 kB / 325.8 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.01053, allocations: 4 kB / 325.8 MB, free: 7.086 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.398e-05/0.0106, allocations: 39.91 kB / 325.9 MB, free: 7.047 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.761e-05/0.01064, allocations: 11.94 kB / 325.9 MB, free: 7.035 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.01066, allocations: 16.55 kB / 325.9 MB, free: 7.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.0108, allocations: 67.73 kB / 325.9 MB, free: 6.953 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.01081, allocations: 8 kB / 326 MB, free: 6.945 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01081, allocations: 0 / 326 MB, free: 6.945 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.01081, allocations: 0 / 326 MB, free: 6.945 MB / 298.7 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.0003089/0.01112, allocations: 277.7 kB / 326.2 MB, free: 6.652 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.01115, allocations: 12.02 kB / 326.2 MB, free: 6.641 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.01118, allocations: 8.875 kB / 326.2 MB, free: 6.633 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.01145, allocations: 141.6 kB / 326.4 MB, free: 6.469 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.01146, allocations: 4.375 kB / 326.4 MB, free: 6.465 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.01148, allocations: 384 / 326.4 MB, free: 6.465 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.53e-05/0.01156, allocations: 50.95 kB / 326.4 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.01157, allocations: 192 / 326.4 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.01158, allocations: 8.125 kB / 326.4 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.01158, allocations: 3.938 kB / 326.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.277e-05/0.01161, allocations: 11.98 kB / 326.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.01179, allocations: 159.1 kB / 326.6 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.0119, allocations: 34.56 kB / 326.7 MB, free: 6.168 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.347e-05/0.01192, allocations: 8.859 kB / 326.7 MB, free: 6.156 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.01193, allocations: 0 / 326.7 MB, free: 6.156 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.01195, allocations: 34.56 kB / 326.7 MB, free: 6.113 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.01195, allocations: 0 / 326.7 MB, free: 6.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000247/0.01219, allocations: 93.58 kB / 326.8 MB, free: 6.016 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.01222, allocations: 55.41 kB / 326.8 MB, free: 5.949 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.628e-05/0.01232, allocations: 155.3 kB / 327 MB, free: 5.785 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.01233, allocations: 25.7 kB / 327 MB, free: 5.754 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.935e-05/0.01236, allocations: 88.14 kB / 327.1 MB, free: 5.664 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.01238, allocations: 11.89 kB / 327.1 MB, free: 5.652 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/0.01241, allocations: 29.64 kB / 327.1 MB, free: 5.617 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.401e-05/0.01248, allocations: 322.8 kB / 327.5 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.01249, allocations: 4 kB / 327.5 MB, free: 5.289 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.143e-05/0.0125, allocations: 4 kB / 327.5 MB, free: 5.285 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.816e-05/0.01253, allocations: 16.84 kB / 327.5 MB, free: 5.266 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.01253, allocations: 192 / 327.5 MB, free: 5.266 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.098e-05/0.01259, allocations: 53.62 kB / 327.5 MB, free: 5.207 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.0126, allocations: 4 kB / 327.5 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.01261, allocations: 0 / 327.5 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.01262, allocations: 0 / 327.5 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.625e-05/0.01266, allocations: 19.92 kB / 327.6 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.01267, allocations: 7.984 kB / 327.6 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.929e-05/0.01269, allocations: 4 kB / 327.6 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.01269, allocations: 4 kB / 327.6 MB, free: 5.168 MB / 298.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 5.246e-05/0.01274, allocations: 112.7 kB / 327.7 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.01277, allocations: 12.2 kB / 327.7 MB, free: 5.035 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.982e-05/0.01286, allocations: 62.08 kB / 327.8 MB, free: 4.969 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.01286, allocations: 7.984 kB / 327.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.01286, allocations: 0 / 327.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.01287, allocations: 0 / 327.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.01306, allocations: 210.7 kB / 328 MB, free: 4.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.01306, allocations: 7.938 kB / 328 MB, free: 4.723 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.08e-05/0.01309, allocations: 11.98 kB / 328 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.01309, allocations: 0 / 328 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-06/0.0131, allocations: 4 kB / 328 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.0131, allocations: 0 / 328 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.0131, allocations: 0 / 328 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.815e-05/0.01318, allocations: 155.6 kB / 328.1 MB, free: 4.539 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-06/0.01318, allocations: 7.953 kB / 328.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.01319, allocations: 4 kB / 328.2 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.01441, allocations: 0 / 328.2 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.01445, allocations: 11.98 kB / 328.2 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.01445, allocations: 0 / 328.2 MB, free: 4.516 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.942e-05/0.01452, allocations: 35.67 kB / 328.2 MB, free: 4.477 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01452, allocations: 0 / 328.2 MB, free: 4.477 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002023/0.01473, allocations: 8 kB / 328.2 MB, free: 4.469 MB / 298.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.001267/0.01599, allocations: 0.5007 MB / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.196e-05/0.01608, allocations: 28.72 kB / 328.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.01609, allocations: 0 / 328.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.937e-05/0.01611, allocations: 16.86 kB / 328.8 MB, free: 4.184 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.01632, allocations: 19.98 kB / 328.8 MB, free: 4.164 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003219/0.01664, allocations: 175.1 kB / 328.9 MB, free: 3.961 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.892e-05/0.01668, allocations: 66.34 kB / 329 MB, free: 3.879 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.751e-05/0.01672, allocations: 11.98 kB / 329 MB, free: 3.867 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.569e-05/0.01677, allocations: 59.36 kB / 329.1 MB, free: 3.809 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01677, allocations: 0 / 329.1 MB, free: 3.809 MB / 298.7 MB Notification: Performance of Templates: time 0.003161/0.01993, allocations: 1.249 MB / 330.3 MB, free: 2.574 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.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.0528439390473068]