Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.00164/0.00164, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001777/0.001777, allocations: 210 kB / 23.74 MB, free: 4.66 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.666/1.666, allocations: 230.6 MB / 257.5 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2487/0.2487, allocations: 46.93 MB / 360.8 MB, free: 4.293 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+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.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 59.91 kB / 0.4967 GB, free: 7.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.4267, allocations: 66.03 MB / 0.5612 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003404/0.4301, allocations: 1.752 MB / 0.5629 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00284/0.4329, allocations: 1.739 MB / 0.5646 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.542e-05/0.433, allocations: 0 / 0.5646 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002817/0.4333, allocations: 35.77 kB / 0.5646 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003385/0.4336, allocations: 103.5 kB / 0.5647 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.4338, allocations: 83.66 kB / 0.5648 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.434, allocations: 107.7 kB / 0.5649 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.83e-05/0.4341, allocations: 8 kB / 0.5649 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.4342, allocations: 55.7 kB / 0.565 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.4344, allocations: 39.84 kB / 0.565 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.4344, allocations: 4 kB / 0.565 GB, free: 500 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002054/0.4346, allocations: 111.9 kB / 0.5651 GB, free: 388 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.732e-05/0.4347, allocations: 23.84 kB / 0.5651 GB, free: 364 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.494e-05/0.4348, allocations: 39.73 kB / 0.5652 GB, free: 324 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003008/0.4351, allocations: 169.8 kB / 0.5653 GB, free: 160 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4351, allocations: 4 kB / 0.5653 GB, free: 156 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4351, allocations: 0 / 0.5653 GB, free: 156 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.4351, allocations: 0 / 0.5653 GB, free: 156 kB / 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.0005794/0.4357, allocations: 345.5 kB / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.4357, allocations: 8.031 kB / 0.5657 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.4357, allocations: 16.78 kB / 0.5657 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.436, allocations: 156.6 kB / 0.5659 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.4361, allocations: 11.94 kB / 0.5659 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.4361, allocations: 3.938 kB / 0.5659 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.4362, allocations: 75.38 kB / 0.5659 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.4363, allocations: 0 / 0.5659 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.4363, allocations: 0 / 0.5659 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.4363, allocations: 0 / 0.5659 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.03e-05/0.4364, allocations: 23.92 kB / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.4367, allocations: 256 kB / 0.5662 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.4369, allocations: 58.67 kB / 0.5663 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.631e-05/0.437, allocations: 20.84 kB / 0.5663 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.437, allocations: 0 / 0.5663 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/0.4372, allocations: 67.33 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.4372, allocations: 0 / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005463/0.4377, allocations: 177.5 kB / 0.5665 GB, free: 14.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.614e-05/0.4378, allocations: 89.05 kB / 0.5666 GB, free: 14.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.438, allocations: 162.1 kB / 0.5668 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.438, allocations: 25.7 kB / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.4381, allocations: 96.14 kB / 0.5669 GB, free: 14.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.62e-05/0.4381, allocations: 35.72 kB / 0.5669 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/0.4382, allocations: 25.66 kB / 0.5669 GB, free: 14.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.4383, allocations: 326.8 kB / 0.5672 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.164e-05/0.4384, allocations: 20.17 kB / 0.5673 GB, free: 14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.345e-05/0.4385, allocations: 46.56 kB / 0.5673 GB, free: 13.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.4386, allocations: 65.64 kB / 0.5674 GB, free: 13.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.4386, allocations: 0 / 0.5674 GB, free: 13.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001984/0.4388, allocations: 89.7 kB / 0.5675 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.4388, allocations: 8 kB / 0.5675 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4388, allocations: 7.938 kB / 0.5675 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.4388, allocations: 0 / 0.5675 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.118e-05/0.4389, allocations: 15.98 kB / 0.5675 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.4389, allocations: 3.938 kB / 0.5675 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.079e-05/0.439, allocations: 8 kB / 0.5675 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.439, allocations: 4 kB / 0.5675 GB, free: 13.74 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.0001064/0.4391, allocations: 117.8 kB / 0.5676 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.4391, allocations: 15.95 kB / 0.5676 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.4394, allocations: 118.4 kB / 0.5677 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.4394, allocations: 4 kB / 0.5677 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.4394, allocations: 7.875 kB / 0.5678 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4394, allocations: 0 / 0.5678 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000499/0.4399, allocations: 362.4 kB / 0.5681 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4399, allocations: 0 / 0.5681 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-05/0.4399, allocations: 11.94 kB / 0.5681 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.4399, allocations: 8.031 kB / 0.5681 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.4399, allocations: 0 / 0.5681 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4399, allocations: 0 / 0.5681 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4399, allocations: 0 / 0.5681 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.4402, allocations: 208.2 kB / 0.5683 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/0.4402, allocations: 11.89 kB / 0.5683 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.4403, allocations: 8 kB / 0.5683 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.536e-05/0.4403, allocations: 4 kB / 0.5683 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.4404, allocations: 7.984 kB / 0.5683 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.4404, allocations: 4 kB / 0.5683 GB, free: 12.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001274/0.4405, allocations: 123.2 kB / 0.5685 GB, free: 12.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4405, allocations: 0 / 0.5685 GB, free: 12.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003216/0.4408, allocations: 51.86 kB / 0.5685 GB, free: 12.61 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.001998/0.4428, allocations: 0.5501 MB / 0.5691 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002136/0.4431, allocations: 63.91 kB / 0.5691 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4431, allocations: 0 / 0.5691 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.472e-05/0.4431, allocations: 23.94 kB / 0.5691 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.4435, allocations: 31.91 kB / 0.5692 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005091/0.444, allocations: 206.9 kB / 0.5694 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.4444, allocations: 0.7002 MB / 0.57 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.24e-05/0.4444, allocations: 17.27 kB / 0.5701 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.522e-05/0.4445, allocations: 27.42 kB / 0.5701 GB, free: 11.14 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4445, allocations: 0 / 0.5701 GB, free: 11.14 MB / 414.1 MB Notification: Performance of Templates: time 0.006008/0.4505, allocations: 2.38 MB / 0.5724 GB, free: 8.781 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.715610759099945]