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.001068/0.001068, allocations: 80.31 kB / 22.21 MB, free: 2.293 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.001143/0.001143, allocations: 170.5 kB / 25.61 MB, free: 8.914 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.8678/0.8678, allocations: 177.1 MB / 206 MB, free: 4.5 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.1303/0.1303, allocations: 34.25 MB / 296.9 MB, free: 14.02 MB / 282.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.152e-06/1.152e-06, allocations: 0 / 379.3 MB, free: 23.46 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055e-05/1.17e-05, allocations: 2.312 kB / 379.3 MB, free: 23.45 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002009/0.002021, allocations: 2.267 MB / 381.5 MB, free: 21.17 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.003612, allocations: 1.656 MB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.003756, allocations: 7.938 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.004067, allocations: 143.2 kB / 383.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004202/0.004487, allocations: 306.5 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008367/0.005324, allocations: 0.5338 MB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004538/0.005777, allocations: 0.5919 MB / 384.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.005924, allocations: 45.27 kB / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003249/0.006248, allocations: 311.2 kB / 385.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.006425, allocations: 207.4 kB / 385.3 MB, free: 17.37 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.006456, allocations: 28 kB / 385.3 MB, free: 17.34 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002384/0.006694, allocations: 187.7 kB / 385.5 MB, free: 17.16 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.817e-05/0.006782, allocations: 135.5 kB / 385.7 MB, free: 17.03 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.47e-05/0.006857, allocations: 111.6 kB / 385.8 MB, free: 16.92 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.007191, allocations: 470.3 kB / 386.2 MB, free: 16.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.007193, allocations: 0 / 386.2 MB, free: 16.46 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.007194, allocations: 4 kB / 386.2 MB, free: 16.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.007199, allocations: 0 / 386.2 MB, free: 16.45 MB / 314.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.0005974/0.007797, allocations: 0.9379 MB / 387.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.698e-05/0.007824, allocations: 12.03 kB / 387.2 MB, free: 15.44 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.9e-05/0.007893, allocations: 68.55 kB / 387.3 MB, free: 15.37 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.008172, allocations: 391.1 kB / 387.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.008192, allocations: 16.61 kB / 387.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.008209, allocations: 16.38 kB / 387.7 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.008386, allocations: 186.9 kB / 387.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.008394, allocations: 11.86 kB / 387.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.008407, allocations: 4 kB / 387.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.008412, allocations: 4 kB / 387.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.105e-05/0.008483, allocations: 47.94 kB / 387.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/0.008949, allocations: 0.86 MB / 388.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.009159, allocations: 220.6 kB / 389 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.817e-05/0.009218, allocations: 70.66 kB / 389.1 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.009231, allocations: 4 kB / 389.1 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.009387, allocations: 194.4 kB / 389.3 MB, free: 13.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 1.312e-06/0.009388, allocations: 0 / 389.3 MB, free: 13.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003368/0.009725, allocations: 278.1 kB / 389.5 MB, free: 12.9 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.009748, allocations: 144.4 kB / 389.7 MB, free: 12.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.01003, allocations: 0.5453 MB / 390.2 MB, free: 12.17 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.01005, allocations: 33.7 kB / 390.2 MB, free: 12.13 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.01015, allocations: 299.2 kB / 390.5 MB, free: 11.83 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/0.01019, allocations: 71.39 kB / 390.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.677e-05/0.01025, allocations: 67.33 kB / 390.7 MB, free: 11.69 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.21e-05/0.01032, allocations: 0.5624 MB / 391.2 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.351e-05/0.01036, allocations: 27.97 kB / 391.3 MB, free: 11.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.28e-05/0.01045, allocations: 254.9 kB / 391.5 MB, free: 10.76 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.01057, allocations: 157.3 kB / 391.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01057, allocations: 3.984 kB / 391.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002147/0.01079, allocations: 233.2 kB / 391.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.0108, allocations: 4 kB / 391.9 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.0108, allocations: 0 / 391.9 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.01081, allocations: 4 kB / 391.9 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.01094, allocations: 55.91 kB / 392 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.01094, allocations: 4.125 kB / 392 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.06e-05/0.01103, allocations: 31.88 kB / 392 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.01104, allocations: 7.984 kB / 392 MB, free: 10.23 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 8.928e-05/0.01113, allocations: 192.4 kB / 392.2 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.949e-05/0.01118, allocations: 63.62 kB / 392.3 MB, free: 9.969 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002611/0.01144, allocations: 273.7 kB / 392.5 MB, free: 9.691 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.01144, allocations: 4 kB / 392.5 MB, free: 9.688 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.01145, allocations: 4 kB / 392.5 MB, free: 9.684 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.01145, allocations: 3.984 kB / 392.5 MB, free: 9.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.01162, allocations: 265 kB / 392.8 MB, free: 9.395 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01162, allocations: 3.984 kB / 392.8 MB, free: 9.391 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.509e-05/0.01169, allocations: 35.91 kB / 392.8 MB, free: 9.355 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.01169, allocations: 0 / 392.8 MB, free: 9.355 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.0117, allocations: 12.17 kB / 392.8 MB, free: 9.344 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.0117, allocations: 8 kB / 392.8 MB, free: 9.336 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.0117, allocations: 0 / 392.8 MB, free: 9.336 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.01193, allocations: 330.9 kB / 393.2 MB, free: 8.977 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.739e-05/0.01197, allocations: 59.55 kB / 393.2 MB, free: 8.918 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.258e-05/0.01201, allocations: 8 kB / 393.2 MB, free: 8.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.975e-05/0.01208, allocations: 15.98 kB / 393.3 MB, free: 8.895 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.849e-05/0.01214, allocations: 39.94 kB / 393.3 MB, free: 8.855 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.01216, allocations: 15.92 kB / 393.3 MB, free: 8.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001579/0.01231, allocations: 354.7 kB / 393.7 MB, free: 8.496 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01231, allocations: 0 / 393.7 MB, free: 8.496 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002561/0.01257, allocations: 99.86 kB / 393.8 MB, free: 8.398 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.000786/0.01336, allocations: 429.3 kB / 394.2 MB, free: 8.117 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.01354, allocations: 151.5 kB / 394.3 MB, free: 7.965 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.01354, allocations: 0 / 394.3 MB, free: 7.965 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.518e-05/0.01362, allocations: 91.5 kB / 394.4 MB, free: 7.871 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.01399, allocations: 169.8 kB / 394.6 MB, free: 7.719 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005602/0.01455, allocations: 0.7006 MB / 395.3 MB, free: 6.969 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.163e-05/0.0146, allocations: 125.6 kB / 395.4 MB, free: 6.82 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.01472, allocations: 75.97 kB / 395.5 MB, free: 6.742 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.0149, allocations: 182.1 kB / 395.6 MB, free: 6.562 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01491, allocations: 0 / 395.6 MB, free: 6.562 MB / 314.7 MB Notification: Performance of Templates: time 0.008762/0.02367, allocations: 8.542 MB / 404.2 MB, free: 14.12 MB / 330.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.0391760687343776]