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.001458/0.001458, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001625/0.001625, allocations: 170.4 kB / 24.91 MB, free: 8.688 MB / 18.57 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 0.9679/0.9679, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.2359/0.2359, allocations: 34.26 MB / 296.1 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] 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 1.182e-06/1.182e-06, allocations: 0 / 325.2 MB, free: 7.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.108e-05, allocations: 4.172 kB / 325.2 MB, free: 7.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.0026/0.002621, allocations: 2.275 MB / 327.5 MB, free: 5.414 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002175/0.004796, allocations: 1.691 MB / 329.2 MB, free: 3.715 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.004934, allocations: 7.938 kB / 329.2 MB, free: 3.707 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003478/0.005282, allocations: 143.2 kB / 329.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000448/0.00573, allocations: 298.5 kB / 329.6 MB, free: 3.273 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008063/0.006536, allocations: 0.5424 MB / 330.2 MB, free: 2.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004718/0.007008, allocations: 0.5846 MB / 330.8 MB, free: 2.145 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.007117, allocations: 49.22 kB / 330.8 MB, free: 2.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002844/0.007401, allocations: 315.2 kB / 331.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.007578, allocations: 191.5 kB / 331.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.267e-05/0.007611, allocations: 31.94 kB / 331.3 MB, free: 1.562 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002438/0.007855, allocations: 187.6 kB / 331.5 MB, free: 1.379 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.007977, allocations: 135.5 kB / 331.6 MB, free: 1.246 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.671e-05/0.008064, allocations: 115.6 kB / 331.8 MB, free: 1.129 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004044/0.008468, allocations: 466.2 kB / 332.2 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.008471, allocations: 0 / 332.2 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.008472, allocations: 0 / 332.2 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.008477, allocations: 0 / 332.2 MB, free: 0.6719 MB / 298.7 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.001017/0.009493, allocations: 0.8106 MB / 333 MB, free: 15.81 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.009522, allocations: 12.03 kB / 333 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.78e-05/0.00958, allocations: 40.89 kB / 333.1 MB, free: 15.76 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.009903, allocations: 341.8 kB / 333.4 MB, free: 15.4 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.009923, allocations: 8.609 kB / 333.4 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.009942, allocations: 16.38 kB / 333.4 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.01014, allocations: 183.6 kB / 333.6 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.01015, allocations: 7.875 kB / 333.6 MB, free: 15.17 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.01016, allocations: 11.94 kB / 333.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.01016, allocations: 4 kB / 333.6 MB, free: 15.15 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.538e-05/0.01024, allocations: 63.19 kB / 333.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.01068, allocations: 0.5534 MB / 334.3 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.01092, allocations: 368.5 kB / 334.6 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.841e-05/0.01097, allocations: 59.41 kB / 334.7 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.01099, allocations: 4 kB / 334.7 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.01115, allocations: 171.9 kB / 334.8 MB, free: 13.83 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 1.132e-06/0.01115, allocations: 0 / 334.8 MB, free: 13.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002383/0.01139, allocations: 193.6 kB / 335 MB, free: 13.63 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.01143, allocations: 132.5 kB / 335.2 MB, free: 13.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.01174, allocations: 496.8 kB / 335.6 MB, free: 12.97 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.01177, allocations: 33.7 kB / 335.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.255e-05/0.01184, allocations: 161.7 kB / 335.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.913e-05/0.01189, allocations: 67.5 kB / 335.9 MB, free: 12.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/0.01194, allocations: 53.67 kB / 336 MB, free: 12.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.01205, allocations: 378.6 kB / 336.3 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.152e-05/0.01209, allocations: 27 kB / 336.4 MB, free: 12.24 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.01219, allocations: 209 kB / 336.6 MB, free: 11.97 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.01232, allocations: 152.9 kB / 336.7 MB, free: 11.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.01233, allocations: 4 kB / 336.7 MB, free: 11.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001798/0.01251, allocations: 189 kB / 336.9 MB, free: 11.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.01252, allocations: 8 kB / 336.9 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.01252, allocations: 7.938 kB / 336.9 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.01253, allocations: 4 kB / 336.9 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.01266, allocations: 47.91 kB / 337 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.01266, allocations: 7.938 kB / 337 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.437e-05/0.01275, allocations: 27.81 kB / 337 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.01276, allocations: 12 kB / 337 MB, free: 11.48 MB / 314.7 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.0001094/0.01287, allocations: 152.5 kB / 337.2 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.01291, allocations: 35.97 kB / 337.2 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002095/0.01312, allocations: 189.8 kB / 337.4 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.01312, allocations: 4.047 kB / 337.4 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.01313, allocations: 7.984 kB / 337.4 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01313, allocations: 0 / 337.4 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.0133, allocations: 213.5 kB / 337.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.01331, allocations: 3.984 kB / 337.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.37e-05/0.01337, allocations: 27.92 kB / 337.6 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.01337, allocations: 8 kB / 337.6 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.01339, allocations: 11.98 kB / 337.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01339, allocations: 0 / 337.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.01339, allocations: 0 / 337.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.01357, allocations: 225.9 kB / 337.9 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.425e-05/0.01361, allocations: 59.55 kB / 337.9 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.587e-05/0.01365, allocations: 12.06 kB / 337.9 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.229e-05/0.01371, allocations: 11.98 kB / 337.9 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.023e-05/0.01378, allocations: 39.94 kB / 338 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.0138, allocations: 15.98 kB / 338 MB, free: 10.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001783/0.01398, allocations: 239.2 kB / 338.2 MB, free: 10.18 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01398, allocations: 0 / 338.2 MB, free: 10.18 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002278/0.01421, allocations: 91.92 kB / 338.3 MB, free: 10.09 MB / 314.7 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.001062/0.01527, allocations: 0.5587 MB / 338.9 MB, free: 9.793 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001748/0.01544, allocations: 124.8 kB / 339 MB, free: 9.668 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.01545, allocations: 12.06 kB / 339 MB, free: 9.656 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.932e-05/0.01554, allocations: 84.67 kB / 339.1 MB, free: 9.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.01586, allocations: 164 kB / 339.3 MB, free: 9.422 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009077/0.01676, allocations: 0.6989 MB / 340 MB, free: 8.676 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.139e-05/0.01683, allocations: 125.6 kB / 340.1 MB, free: 8.527 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.01695, allocations: 67.31 kB / 340.1 MB, free: 8.461 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.01714, allocations: 155.3 kB / 340.3 MB, free: 8.309 MB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01714, allocations: 0 / 340.3 MB, free: 8.309 MB / 314.7 MB Notification: Performance of Templates: time 0.009826/0.02697, allocations: 8.345 MB / 348.6 MB, free: 76 kB / 314.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.117608231958002]