Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001/0.001, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009515/0.0009515, allocations: 166.7 kB / 24.99 MB, free: 8.797 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.9868/0.9868, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.2755/0.2755, allocations: 32.81 MB / 294.6 MB, free: 1.273 MB / 266.7 MB " [Timeout remaining time 180] 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.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.0.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.0.0_ModelicaTest.Blocks.IntegerTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 376 MB, free: 5.016 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.738e-05, allocations: 5.688 kB / 376 MB, free: 5.012 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002672/0.0027, allocations: 2.306 MB / 378.3 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.004781, allocations: 1.652 MB / 379.9 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001876/0.004969, allocations: 7.938 kB / 379.9 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000377/0.005346, allocations: 143.2 kB / 380.1 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005318/0.005878, allocations: 310.5 kB / 380.4 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009468/0.006825, allocations: 0.53 MB / 380.9 MB, free: 44 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005832/0.007408, allocations: 0.5882 MB / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.007549, allocations: 41.27 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003475/0.007897, allocations: 311.1 kB / 381.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002141/0.008111, allocations: 203.5 kB / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.008148, allocations: 28 kB / 382.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000295/0.008443, allocations: 187.7 kB / 382.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.008584, allocations: 143.5 kB / 382.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.008691, allocations: 111.6 kB / 382.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005119/0.009203, allocations: 478.3 kB / 383 MB, free: 13.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.009206, allocations: 0 / 383 MB, free: 13.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.009207, allocations: 0 / 383 MB, free: 13.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.009214, allocations: 0 / 383 MB, free: 13.97 MB / 362.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.001025/0.01024, allocations: 0.9534 MB / 383.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.01028, allocations: 8.031 kB / 383.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.01038, allocations: 68.59 kB / 384 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004772/0.01086, allocations: 395.2 kB / 384.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.01089, allocations: 16.61 kB / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.01092, allocations: 24.3 kB / 384.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003344/0.01125, allocations: 335.3 kB / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.01126, allocations: 7.875 kB / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.01128, allocations: 3.984 kB / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.01129, allocations: 4 kB / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.01143, allocations: 63.92 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007942/0.01222, allocations: 0.9415 MB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003042/0.01253, allocations: 228.6 kB / 386 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.355e-05/0.01262, allocations: 78.66 kB / 386.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.01264, allocations: 4 kB / 386.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/0.01286, allocations: 206.5 kB / 386.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 2.475e-06/0.01286, allocations: 0 / 386.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004743/0.01334, allocations: 309.1 kB / 386.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.038e-05/0.01343, allocations: 239.3 kB / 386.8 MB, free: 9.766 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004654/0.01389, allocations: 0.5689 MB / 387.4 MB, free: 9.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.01392, allocations: 33.7 kB / 387.4 MB, free: 9.141 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.01409, allocations: 291.3 kB / 387.7 MB, free: 8.852 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.213e-05/0.01416, allocations: 71.55 kB / 387.8 MB, free: 8.781 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.385e-05/0.01423, allocations: 67.34 kB / 387.8 MB, free: 8.707 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.01439, allocations: 0.5469 MB / 388.4 MB, free: 8.148 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.723e-05/0.01448, allocations: 47.95 kB / 388.4 MB, free: 8.102 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.01468, allocations: 404.5 kB / 388.8 MB, free: 7.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.01487, allocations: 166.4 kB / 389 MB, free: 7.395 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01488, allocations: 0 / 389 MB, free: 7.395 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003149/0.01519, allocations: 261 kB / 389.2 MB, free: 7.133 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.01521, allocations: 4 kB / 389.2 MB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.01521, allocations: 4 kB / 389.3 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.01523, allocations: 0 / 389.3 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.01538, allocations: 59.91 kB / 389.3 MB, free: 7.066 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.01539, allocations: 4.109 kB / 389.3 MB, free: 7.062 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.0155, allocations: 31.84 kB / 389.3 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.01551, allocations: 15.92 kB / 389.4 MB, free: 7.016 MB / 362.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.0001442/0.01566, allocations: 192.6 kB / 389.5 MB, free: 6.816 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.761e-05/0.01573, allocations: 67.59 kB / 389.6 MB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003973/0.01612, allocations: 277.8 kB / 389.9 MB, free: 6.473 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.01613, allocations: 4 kB / 389.9 MB, free: 6.469 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.01613, allocations: 8.25 kB / 389.9 MB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.01614, allocations: 3.984 kB / 389.9 MB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.01643, allocations: 336.3 kB / 390.2 MB, free: 6.094 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.01644, allocations: 0 / 390.2 MB, free: 6.094 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.025e-05/0.01653, allocations: 39.91 kB / 390.3 MB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.01653, allocations: 0 / 390.3 MB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.01655, allocations: 8 kB / 390.3 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.01655, allocations: 3.984 kB / 390.3 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.01655, allocations: 320 / 390.3 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003587/0.01691, allocations: 346.9 kB / 390.6 MB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.548e-05/0.01697, allocations: 67.58 kB / 390.7 MB, free: 5.602 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.01701, allocations: 8 kB / 390.7 MB, free: 5.594 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.204e-05/0.0171, allocations: 15.98 kB / 390.7 MB, free: 5.578 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.318e-05/0.01718, allocations: 43.92 kB / 390.8 MB, free: 5.535 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/0.0172, allocations: 23.92 kB / 390.8 MB, free: 5.512 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002905/0.01749, allocations: 374.8 kB / 391.1 MB, free: 5.148 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0175, allocations: 4 kB / 391.1 MB, free: 5.145 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003251/0.01782, allocations: 99.86 kB / 391.2 MB, free: 5.047 MB / 362.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.0009309/0.01875, allocations: 442.1 kB / 391.7 MB, free: 4.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002688/0.01902, allocations: 155.7 kB / 391.8 MB, free: 4.594 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.01902, allocations: 4 kB / 391.8 MB, free: 4.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.01915, allocations: 103.5 kB / 391.9 MB, free: 4.484 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.01959, allocations: 166.6 kB / 392.1 MB, free: 4.332 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000808/0.02039, allocations: 0.7106 MB / 392.8 MB, free: 3.574 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.621e-05/0.02048, allocations: 129.5 kB / 392.9 MB, free: 3.422 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001463/0.02063, allocations: 75.36 kB / 393 MB, free: 3.348 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.342e-05/0.02072, allocations: 64.47 kB / 393.1 MB, free: 3.285 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/0.02072, allocations: 0 / 393.1 MB, free: 3.285 MB / 362.7 MB Notification: Performance of Templates: time 0.01037/0.03109, allocations: 8.002 MB / 401.1 MB, free: 11.38 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.1313694489654154]