Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001984/0.001984, allocations: 109 kB / 21.23 MB, free: 0.5117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002515/0.002515, allocations: 209.9 kB / 24.54 MB, free: 3.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.654/1.654, allocations: 230.3 MB / 258 MB, free: 8.418 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2413/0.2413, allocations: 46.94 MB / 361.4 MB, free: 4.473 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002383/0.002383, allocations: 79.88 kB / 0.4972 GB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.432, allocations: 66.06 MB / 0.5617 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003647/0.4357, allocations: 1.741 MB / 0.5634 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.4379, allocations: 1.056 MB / 0.5645 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.204e-05/0.438, allocations: 0 / 0.5645 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003514/0.4384, allocations: 51.75 kB / 0.5645 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003423/0.4387, allocations: 95.53 kB / 0.5646 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.4389, allocations: 79.73 kB / 0.5647 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.4392, allocations: 107.7 kB / 0.5648 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.4393, allocations: 11.88 kB / 0.5648 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.4394, allocations: 47.78 kB / 0.5648 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.669e-05/0.4395, allocations: 31.84 kB / 0.5649 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.4395, allocations: 4 kB / 0.5649 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.4396, allocations: 43.92 kB / 0.5649 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.901e-05/0.4397, allocations: 31.89 kB / 0.5649 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.353e-05/0.4398, allocations: 35.69 kB / 0.565 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.44, allocations: 134 kB / 0.5651 GB, free: 1.102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4401, allocations: 4 kB / 0.5651 GB, free: 1.098 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4401, allocations: 0 / 0.5651 GB, free: 1.098 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.4401, allocations: 0 / 0.5651 GB, free: 1.098 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006798/0.4407, allocations: 365.4 kB / 0.5655 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.4408, allocations: 8.031 kB / 0.5655 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.536e-05/0.4409, allocations: 8.891 kB / 0.5655 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003868/0.4412, allocations: 163.1 kB / 0.5656 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.4413, allocations: 384 / 0.5656 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.4413, allocations: 8.312 kB / 0.5656 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.4415, allocations: 61.98 kB / 0.5657 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.4415, allocations: 0 / 0.5657 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.4415, allocations: 0 / 0.5657 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.4415, allocations: 0 / 0.5657 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.325e-05/0.4416, allocations: 19.98 kB / 0.5657 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.4421, allocations: 271.8 kB / 0.566 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.4423, allocations: 54.69 kB / 0.566 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.654e-05/0.4423, allocations: 16.84 kB / 0.566 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.4424, allocations: 4 kB / 0.566 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002408/0.4426, allocations: 67.33 kB / 0.5661 GB, free: 15.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.4426, allocations: 0 / 0.5661 GB, free: 15.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000594/0.4432, allocations: 189.3 kB / 0.5663 GB, free: 15.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.4433, allocations: 55.34 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.4435, allocations: 235 kB / 0.5666 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.4435, allocations: 29.7 kB / 0.5666 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.021e-05/0.4436, allocations: 112.1 kB / 0.5667 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.4437, allocations: 23.84 kB / 0.5667 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-05/0.4437, allocations: 25.72 kB / 0.5668 GB, free: 15.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.4439, allocations: 326.8 kB / 0.5671 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.51e-05/0.4439, allocations: 27.98 kB / 0.5671 GB, free: 14.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.04e-05/0.444, allocations: 37.64 kB / 0.5671 GB, free: 14.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.4441, allocations: 61.64 kB / 0.5672 GB, free: 14.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4442, allocations: 0 / 0.5672 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001937/0.4443, allocations: 97.59 kB / 0.5673 GB, free: 14.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.4444, allocations: 8 kB / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4444, allocations: 4.031 kB / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.4444, allocations: 0 / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.385e-05/0.4445, allocations: 20.3 kB / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.4445, allocations: 4 kB / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.336e-05/0.4445, allocations: 0 / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.4445, allocations: 8 kB / 0.5673 GB, free: 14.63 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001384/0.4447, allocations: 133.8 kB / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.4447, allocations: 15.91 kB / 0.5675 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.445, allocations: 130.9 kB / 0.5676 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.445, allocations: 0 / 0.5676 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.445, allocations: 7.938 kB / 0.5676 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.445, allocations: 0 / 0.5676 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005054/0.4455, allocations: 374.5 kB / 0.568 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.4455, allocations: 0 / 0.568 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.153e-05/0.4456, allocations: 12 kB / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.4456, allocations: 4 kB / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.4456, allocations: 0 / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.4456, allocations: 7.969 kB / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4456, allocations: 0 / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.4459, allocations: 204.3 kB / 0.5682 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.119e-05/0.446, allocations: 15.91 kB / 0.5682 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.446, allocations: 3.938 kB / 0.5682 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.4461, allocations: 7.938 kB / 0.5682 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.4462, allocations: 7.984 kB / 0.5682 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.4462, allocations: 8 kB / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002007/0.4464, allocations: 175.2 kB / 0.5684 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4464, allocations: 0 / 0.5684 GB, free: 13.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.4467, allocations: 20 kB / 0.5684 GB, free: 13.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (8): * Single equations (assignments): 6 * 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.001776/0.4484, allocations: 455.6 kB / 0.5688 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.4487, allocations: 55.91 kB / 0.5689 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4487, allocations: 0 / 0.5689 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.111e-05/0.4487, allocations: 23.98 kB / 0.5689 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.4491, allocations: 39.23 kB / 0.5689 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006113/0.4497, allocations: 275.2 kB / 0.5692 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.4502, allocations: 0.708 MB / 0.5699 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.476e-05/0.4502, allocations: 21.27 kB / 0.5699 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.41e-05/0.4503, allocations: 19.44 kB / 0.5699 GB, free: 11.95 MB / 414.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4503, allocations: 4 kB / 0.5699 GB, free: 11.95 MB / 414.1 MB Notification: Performance of Templates: time 0.005788/0.4561, allocations: 1.787 MB / 0.5717 GB, free: 10.18 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.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.723431361839175]