Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 108.5 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002318/0.002318, allocations: 186.4 kB / 24.51 MB, free: 4.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.2469/0.2469, allocations: 44.91 MB / 353.5 MB, free: 11.82 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 63.91 kB / 497.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4275/0.4295, allocations: 64.29 MB / 0.5489 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003982/0.4335, allocations: 1.948 MB / 0.5508 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.4355, allocations: 0.9434 MB / 0.5517 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.4356, allocations: 2.375 kB / 0.5517 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004274/0.436, allocations: 41.61 kB / 0.5517 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002654/0.4363, allocations: 63.94 kB / 0.5518 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004353/0.4367, allocations: 130.3 kB / 0.5519 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.437, allocations: 150.6 kB / 0.5521 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.4371, allocations: 16.78 kB / 0.5521 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.4373, allocations: 58.53 kB / 0.5521 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.4374, allocations: 53.36 kB / 0.5522 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.958e-05/0.4374, allocations: 7.031 kB / 0.5522 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.4376, allocations: 46.17 kB / 0.5522 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.476e-05/0.4377, allocations: 30.56 kB / 0.5523 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.294e-05/0.4377, allocations: 50.3 kB / 0.5523 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.4381, allocations: 147.3 kB / 0.5525 GB, free: 10.37 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4381, allocations: 1.25 kB / 0.5525 GB, free: 10.37 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4381, allocations: 4 kB / 0.5525 GB, free: 10.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.4381, allocations: 0 / 0.5525 GB, free: 10.36 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007897/0.4389, allocations: 403.1 kB / 0.5528 GB, free: 9.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.4389, allocations: 10.8 kB / 0.5529 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.966e-05/0.439, allocations: 15.41 kB / 0.5529 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004227/0.4394, allocations: 175.8 kB / 0.553 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.4394, allocations: 2.594 kB / 0.553 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.742e-05/0.4395, allocations: 17.88 kB / 0.5531 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.4398, allocations: 101.3 kB / 0.5532 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.4398, allocations: 1.188 kB / 0.5532 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.4398, allocations: 1.125 kB / 0.5532 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.4398, allocations: 1.188 kB / 0.5532 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.44, allocations: 51.28 kB / 0.5532 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007076/0.4407, allocations: 492.8 kB / 0.5537 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/0.4411, allocations: 85.61 kB / 0.5538 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.4412, allocations: 37.69 kB / 0.5538 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.4412, allocations: 5.016 kB / 0.5538 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.4414, allocations: 85.44 kB / 0.5539 GB, free: 9.027 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.4414, allocations: 0 / 0.5539 GB, free: 9.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004285/0.4418, allocations: 143.2 kB / 0.554 GB, free: 8.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.4419, allocations: 60.66 kB / 0.5541 GB, free: 8.875 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.4421, allocations: 187.1 kB / 0.5543 GB, free: 8.727 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.4421, allocations: 31.95 kB / 0.5543 GB, free: 8.691 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.642e-05/0.4422, allocations: 117.5 kB / 0.5544 GB, free: 8.578 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.4422, allocations: 28.59 kB / 0.5544 GB, free: 8.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.4423, allocations: 26.72 kB / 0.5544 GB, free: 8.531 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.4424, allocations: 326.2 kB / 0.5548 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.025e-05/0.4425, allocations: 28.39 kB / 0.5548 GB, free: 8.195 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.4427, allocations: 68.16 kB / 0.5549 GB, free: 8.133 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.4429, allocations: 102 kB / 0.5549 GB, free: 8.055 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4429, allocations: 0 / 0.5549 GB, free: 8.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002982/0.4432, allocations: 137.6 kB / 0.5551 GB, free: 7.973 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.4432, allocations: 6.531 kB / 0.5551 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.4432, allocations: 1.25 kB / 0.5551 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.4432, allocations: 2.594 kB / 0.5551 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.4433, allocations: 26.08 kB / 0.5551 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.4434, allocations: 5.375 kB / 0.5551 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.416e-05/0.4434, allocations: 21.59 kB / 0.5551 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.4434, allocations: 12.33 kB / 0.5552 GB, free: 7.938 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001259/0.4436, allocations: 126.1 kB / 0.5553 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.4436, allocations: 18.44 kB / 0.5553 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003121/0.4439, allocations: 124.5 kB / 0.5554 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.4439, allocations: 5.25 kB / 0.5554 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.4439, allocations: 9.406 kB / 0.5554 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4439, allocations: 0 / 0.5554 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.4441, allocations: 180.6 kB / 0.5556 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4441, allocations: 1.219 kB / 0.5556 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.638e-05/0.4442, allocations: 17.39 kB / 0.5556 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.4442, allocations: 0 / 0.5556 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.4442, allocations: 1.719 kB / 0.5556 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.4442, allocations: 5.312 kB / 0.5556 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4442, allocations: 0 / 0.5556 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003958/0.4446, allocations: 184.9 kB / 0.5558 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.63e-05/0.4446, allocations: 15.09 kB / 0.5558 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.4447, allocations: 6.094 kB / 0.5558 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.519e-05/0.4447, allocations: 7.188 kB / 0.5558 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.4448, allocations: 11.27 kB / 0.5558 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.4448, allocations: 7.234 kB / 0.5558 GB, free: 7.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.4449, allocations: 139.2 kB / 0.556 GB, free: 7.238 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4449, allocations: 8 kB / 0.556 GB, free: 7.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002341/0.4452, allocations: 27.58 kB / 0.556 GB, free: 7.223 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001469/0.4466, allocations: 407.6 kB / 0.5564 GB, free: 7.027 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002714/0.4469, allocations: 72.31 kB / 0.5565 GB, free: 7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4469, allocations: 1.344 kB / 0.5565 GB, free: 7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.447, allocations: 35.59 kB / 0.5565 GB, free: 6.984 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.4474, allocations: 48.83 kB / 0.5565 GB, free: 6.953 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005977/0.448, allocations: 256.6 kB / 0.5568 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.4484, allocations: 0.7146 MB / 0.5575 GB, free: 6.035 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.189e-05/0.4484, allocations: 19.48 kB / 0.5575 GB, free: 6.027 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.931e-05/0.4485, allocations: 16.22 kB / 0.5575 GB, free: 6.02 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4485, allocations: 0 / 0.5575 GB, free: 6.02 MB / 398.1 MB Notification: Performance of Templates: time 0.007215/0.4557, allocations: 1.956 MB / 0.5594 GB, free: 4.391 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.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.542645933106542]