Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.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.001435/0.001435, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001485/0.001485, allocations: 211.2 kB / 23.73 MB, free: 4.387 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.647/1.647, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2336/0.2336, allocations: 44.94 MB / 358.8 MB, free: 6.156 MB / 286.1 MB " [Timeout remaining time 179] 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.Test11,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.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,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.CombiTable1Ds.Test11") [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.002151/0.002151, allocations: 61.94 kB / 0.4935 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4063, allocations: 65.48 MB / 0.5575 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.003654/0.41, allocations: 1.589 MB / 0.559 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.4111, allocations: 0.5193 MB / 0.5595 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.704e-05/0.4112, allocations: 3.938 kB / 0.5595 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002684/0.4115, allocations: 23.86 kB / 0.5596 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003568/0.4118, allocations: 79.67 kB / 0.5596 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.4121, allocations: 91.7 kB / 0.5597 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.4123, allocations: 71.77 kB / 0.5598 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.4124, allocations: 7.984 kB / 0.5598 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.393e-05/0.4125, allocations: 19.92 kB / 0.5598 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.795e-05/0.4126, allocations: 19.88 kB / 0.5598 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.4126, allocations: 7.938 kB / 0.5598 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.271e-05/0.4127, allocations: 43.91 kB / 0.5599 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.425e-05/0.4127, allocations: 11.92 kB / 0.5599 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.347e-05/0.4128, allocations: 19.81 kB / 0.5599 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.413, allocations: 90.03 kB / 0.56 GB, free: 4.734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.413, allocations: 0 / 0.56 GB, free: 4.734 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.413, allocations: 4 kB / 0.56 GB, free: 4.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.413, allocations: 0 / 0.56 GB, free: 4.73 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.0005539/0.4135, allocations: 321.8 kB / 0.5603 GB, free: 4.387 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.4136, allocations: 12.03 kB / 0.5603 GB, free: 4.375 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.4136, allocations: 12.84 kB / 0.5603 GB, free: 4.363 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.4138, allocations: 137.9 kB / 0.5605 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.485e-06/0.4139, allocations: 4.375 kB / 0.5605 GB, free: 4.203 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.4139, allocations: 3.938 kB / 0.5605 GB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.414, allocations: 49.67 kB / 0.5605 GB, free: 4.145 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.414, allocations: 3.984 kB / 0.5605 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.4141, allocations: 8 kB / 0.5605 GB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.4141, allocations: 0 / 0.5605 GB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.044e-05/0.4142, allocations: 23.98 kB / 0.5606 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003586/0.4145, allocations: 228.5 kB / 0.5608 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.4147, allocations: 38.56 kB / 0.5608 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.14e-05/0.4148, allocations: 16.94 kB / 0.5608 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.4148, allocations: 0 / 0.5608 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.4148, allocations: 34.56 kB / 0.5609 GB, free: 3.746 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 3.327e-06/0.4148, allocations: 4 kB / 0.5609 GB, free: 3.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006284/0.4155, allocations: 145.4 kB / 0.561 GB, free: 3.594 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.4155, allocations: 51.41 kB / 0.561 GB, free: 3.531 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.4157, allocations: 176.1 kB / 0.5612 GB, free: 3.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.4157, allocations: 29.7 kB / 0.5612 GB, free: 3.309 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.691e-05/0.4158, allocations: 96.14 kB / 0.5613 GB, free: 3.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.4158, allocations: 15.83 kB / 0.5613 GB, free: 3.195 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.4159, allocations: 17.72 kB / 0.5614 GB, free: 3.172 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.416, allocations: 330.8 kB / 0.5617 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.184e-05/0.4161, allocations: 23.92 kB / 0.5617 GB, free: 2.816 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.037e-05/0.4162, allocations: 19.98 kB / 0.5617 GB, free: 2.797 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.4163, allocations: 40.83 kB / 0.5618 GB, free: 2.754 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.4163, allocations: 0 / 0.5618 GB, free: 2.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001836/0.4165, allocations: 85.58 kB / 0.5618 GB, free: 2.664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.4165, allocations: 14.44 kB / 0.5619 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4165, allocations: 4 kB / 0.5619 GB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.4165, allocations: 0 / 0.5619 GB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.4166, allocations: 15.92 kB / 0.5619 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.4166, allocations: 0 / 0.5619 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.153e-05/0.4166, allocations: 7.938 kB / 0.5619 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.4167, allocations: 11.92 kB / 0.5619 GB, free: 2.613 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 0.0001103/0.4168, allocations: 113.8 kB / 0.562 GB, free: 2.492 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.4168, allocations: 7.953 kB / 0.562 GB, free: 2.484 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.4171, allocations: 98.06 kB / 0.5621 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4171, allocations: 320 / 0.5621 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.4171, allocations: 0 / 0.5621 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.4171, allocations: 3.984 kB / 0.5621 GB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004164/0.4175, allocations: 294.1 kB / 0.5624 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4175, allocations: 0 / 0.5624 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.966e-05/0.4176, allocations: 15.98 kB / 0.5624 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4176, allocations: 0 / 0.5624 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.4176, allocations: 0 / 0.5624 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4176, allocations: 4 kB / 0.5624 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4176, allocations: 3.938 kB / 0.5624 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.4178, allocations: 179.4 kB / 0.5626 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.684e-05/0.4178, allocations: 7.906 kB / 0.5626 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.4178, allocations: 11.98 kB / 0.5626 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.4179, allocations: 4 kB / 0.5626 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.4179, allocations: 7.922 kB / 0.5626 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.4179, allocations: 0 / 0.5626 GB, free: 1.801 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001227/0.4181, allocations: 138.9 kB / 0.5627 GB, free: 1.668 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4181, allocations: 4 kB / 0.5628 GB, free: 1.664 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.4183, allocations: 15.94 kB / 0.5628 GB, free: 1.648 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.001716/0.42, allocations: 442.4 kB / 0.5632 GB, free: 1.395 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.4202, allocations: 47.91 kB / 0.5632 GB, free: 1.348 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4203, allocations: 0 / 0.5632 GB, free: 1.348 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.978e-05/0.4203, allocations: 15.98 kB / 0.5632 GB, free: 1.332 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.4207, allocations: 23.98 kB / 0.5633 GB, free: 1.309 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004937/0.4212, allocations: 201.8 kB / 0.5635 GB, free: 1.086 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.4213, allocations: 83.39 kB / 0.5635 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.987e-05/0.4213, allocations: 11.97 kB / 0.5636 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.4214, allocations: 11.44 kB / 0.5636 GB, free: 0.957 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4214, allocations: 0 / 0.5636 GB, free: 0.957 MB / 398.1 MB Notification: Performance of Templates: time 0.004448/0.4258, allocations: 1.173 MB / 0.5647 GB, free: 15.79 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.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.3973329570144415]