Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.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.001277/0.001277, allocations: 73.25 kB / 21.24 MB, free: 0.5547 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.001423/0.001423, allocations: 159.4 kB / 24.5 MB, free: 3.715 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.446/1.446, allocations: 177.2 MB / 204.9 MB, free: 8.996 MB / 190.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.2375/0.2375, allocations: 34.27 MB / 295.5 MB, free: 14.56 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.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 67.88 kB / 443.1 MB, free: 6.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3404, allocations: 66.01 MB / 0.4972 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003113/0.3435, allocations: 2.218 MB / 0.4994 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.346, allocations: 1.621 MB / 0.501 GB, free: 27.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.3461, allocations: 7.125 kB / 0.501 GB, free: 27.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004262/0.3465, allocations: 137.2 kB / 0.5011 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005221/0.3471, allocations: 297.4 kB / 0.5014 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.3481, allocations: 0.5319 MB / 0.5019 GB, free: 26.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004684/0.3486, allocations: 0.5876 MB / 0.5025 GB, free: 26.49 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.3488, allocations: 40.47 kB / 0.5025 GB, free: 26.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002234/0.349, allocations: 237.5 kB / 0.5027 GB, free: 26.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.3492, allocations: 244.9 kB / 0.503 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.022e-05/0.3493, allocations: 25.44 kB / 0.503 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003329/0.3496, allocations: 188.2 kB / 0.5032 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.3498, allocations: 135.3 kB / 0.5033 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.3499, allocations: 159.6 kB / 0.5035 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005153/0.3504, allocations: 0.6015 MB / 0.504 GB, free: 25.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3504, allocations: 0 / 0.504 GB, free: 25.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3504, allocations: 0 / 0.504 GB, free: 25.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.3504, allocations: 0 / 0.504 GB, free: 25.8 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001068/0.3515, allocations: 0.8604 MB / 0.5049 GB, free: 25.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.3515, allocations: 9.094 kB / 0.5049 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.711e-05/0.3516, allocations: 59.94 kB / 0.505 GB, free: 25.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006023/0.3522, allocations: 411.7 kB / 0.5053 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.3522, allocations: 17.61 kB / 0.5054 GB, free: 24.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.3523, allocations: 16.83 kB / 0.5054 GB, free: 24.78 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004031/0.3527, allocations: 345.9 kB / 0.5057 GB, free: 24.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3527, allocations: 0 / 0.5057 GB, free: 24.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.3527, allocations: 7 kB / 0.5057 GB, free: 24.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3527, allocations: 6.969 kB / 0.5057 GB, free: 24.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002829/0.353, allocations: 124.9 kB / 0.5058 GB, free: 24.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008405/0.3538, allocations: 0.7867 MB / 0.5066 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005817/0.3544, allocations: 294.1 kB / 0.5069 GB, free: 23.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.3546, allocations: 107.3 kB / 0.507 GB, free: 23.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.3547, allocations: 7.156 kB / 0.507 GB, free: 23.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003534/0.355, allocations: 230.8 kB / 0.5072 GB, free: 23.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 1.473e-06/0.355, allocations: 0 / 0.5072 GB, free: 23.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009111/0.3559, allocations: 426.6 kB / 0.5076 GB, free: 23.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.356, allocations: 245.6 kB / 0.5079 GB, free: 23.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006137/0.3566, allocations: 0.6786 MB / 0.5085 GB, free: 22.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.3566, allocations: 33.2 kB / 0.5086 GB, free: 22.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.3568, allocations: 242.8 kB / 0.5088 GB, free: 22.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.3568, allocations: 60.05 kB / 0.5088 GB, free: 22.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.73e-05/0.3569, allocations: 64.61 kB / 0.5089 GB, free: 22.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.424e-05/0.357, allocations: 367.5 kB / 0.5093 GB, free: 22.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.3572, allocations: 87.5 kB / 0.5093 GB, free: 22.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/0.3575, allocations: 430.5 kB / 0.5098 GB, free: 21.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004075/0.3579, allocations: 239 kB / 0.51 GB, free: 21.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3579, allocations: 7.031 kB / 0.51 GB, free: 21.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005689/0.3584, allocations: 335.1 kB / 0.5103 GB, free: 21.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.3585, allocations: 8.375 kB / 0.5103 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3585, allocations: 3.031 kB / 0.5103 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.3585, allocations: 3.031 kB / 0.5103 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.3587, allocations: 56.81 kB / 0.5104 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.3588, allocations: 7.031 kB / 0.5104 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.3589, allocations: 24.5 kB / 0.5104 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.359, allocations: 16.5 kB / 0.5104 GB, free: 21.33 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition4,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,$PRE.integerTable2.combiTimeTable.nextTimeEvent,$whenCondition3,integerTable2.combiTimeTable.nextTimeEventScaled,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,$PRE.integerTable3.combiTimeTable.nextTimeEvent,$whenCondition2,integerTable3.combiTimeTable.nextTimeEventScaled,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,$PRE.integerTable4.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable4.combiTimeTable.nextTimeEventScaled,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0002009/0.3592, allocations: 218.9 kB / 0.5106 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.12e-05/0.3592, allocations: 58.78 kB / 0.5107 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007166/0.36, allocations: 379.3 kB / 0.511 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.36, allocations: 3 kB / 0.511 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.36, allocations: 6.938 kB / 0.5111 GB, free: 20.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.36, allocations: 3.469 kB / 0.5111 GB, free: 20.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.3603, allocations: 322.9 kB / 0.5114 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.3603, allocations: 0 / 0.5114 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.3604, allocations: 39.42 kB / 0.5114 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.3604, allocations: 3.219 kB / 0.5114 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.3605, allocations: 7.25 kB / 0.5114 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.3605, allocations: 10.62 kB / 0.5114 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3605, allocations: 0 / 0.5114 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006182/0.3611, allocations: 404.8 kB / 0.5118 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.985e-05/0.3612, allocations: 54.33 kB / 0.5119 GB, free: 20.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.28e-05/0.3612, allocations: 16.94 kB / 0.5119 GB, free: 20.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.3614, allocations: 16.75 kB / 0.5119 GB, free: 20.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.3615, allocations: 45.48 kB / 0.5119 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.3615, allocations: 15.2 kB / 0.512 GB, free: 20.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006384/0.3622, allocations: 494.5 kB / 0.5124 GB, free: 20.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3622, allocations: 0 / 0.5124 GB, free: 20.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005041/0.3627, allocations: 106.1 kB / 0.5125 GB, free: 20.25 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001891/0.3646, allocations: 487.9 kB / 0.513 GB, free: 20.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006177/0.3652, allocations: 241.4 kB / 0.5132 GB, free: 19.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.3652, allocations: 1.156 kB / 0.5132 GB, free: 19.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003704/0.3656, allocations: 172.6 kB / 0.5134 GB, free: 19.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000764/0.3663, allocations: 148.2 kB / 0.5135 GB, free: 19.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.368, allocations: 0.8356 MB / 0.5143 GB, free: 19.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.3683, allocations: 251.6 kB / 0.5146 GB, free: 19.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002808/0.3686, allocations: 91.11 kB / 0.5147 GB, free: 19.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.3688, allocations: 58.88 kB / 0.5147 GB, free: 19.26 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3688, allocations: 0 / 0.5147 GB, free: 19.26 MB / 446.1 MB Notification: Performance of Templates: time 0.01801/0.3868, allocations: 7.994 MB / 0.5225 GB, free: 18.25 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.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.256737475981936]