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.0007948/0.0007948, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009157/0.0009157, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9705/0.9705, allocations: 177.1 MB / 205 MB, free: 5.582 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.2703/0.2703, allocations: 34.26 MB / 295.7 MB, free: 0.7578 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 2.043e-06/2.043e-06, allocations: 0 / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.895e-05/3.1e-05, allocations: 2.312 kB / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004654/0.004685, allocations: 2.31 MB / 380.3 MB, free: 344 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002978/0.007662, allocations: 1.66 MB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002277/0.00789, allocations: 7.938 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004974/0.008387, allocations: 143.1 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007162/0.009104, allocations: 302.6 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.01041, allocations: 0.5338 MB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006349/0.01105, allocations: 0.5841 MB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.01117, allocations: 45.27 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003826/0.01155, allocations: 315.2 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.01181, allocations: 203.4 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.452e-05/0.01188, allocations: 28 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003755/0.01225, allocations: 195.6 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.0124, allocations: 143.4 kB / 384.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.01255, allocations: 111.6 kB / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006607/0.01321, allocations: 470.3 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.01322, allocations: 0 / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01322, allocations: 0 / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.01323, allocations: 0 / 385 MB, free: 11.62 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.00118/0.01441, allocations: 0.9496 MB / 386 MB, free: 10.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.01445, allocations: 16.03 kB / 386 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.01459, allocations: 64.61 kB / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000627/0.01521, allocations: 395.2 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.01524, allocations: 12.61 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.663e-05/0.01528, allocations: 16.38 kB / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004451/0.01573, allocations: 344.4 kB / 386.8 MB, free: 9.688 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.01575, allocations: 3.938 kB / 386.8 MB, free: 9.684 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.01577, allocations: 8 kB / 386.8 MB, free: 9.676 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.01578, allocations: 4 kB / 386.8 MB, free: 9.672 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.01597, allocations: 67.86 kB / 386.9 MB, free: 9.605 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.01705, allocations: 0.9375 MB / 387.8 MB, free: 8.617 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004388/0.01749, allocations: 236.5 kB / 388.1 MB, free: 8.336 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.01763, allocations: 82.66 kB / 388.1 MB, free: 8.238 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.01765, allocations: 4 kB / 388.1 MB, free: 8.234 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002437/0.0179, allocations: 206.5 kB / 388.3 MB, free: 8.004 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.342e-06/0.0179, allocations: 0 / 388.3 MB, free: 8.004 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004658/0.01836, allocations: 301.1 kB / 388.6 MB, free: 7.703 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001637/0.01853, allocations: 243.3 kB / 388.9 MB, free: 7.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004517/0.01898, allocations: 0.5689 MB / 389.4 MB, free: 6.824 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.019, allocations: 33.7 kB / 389.5 MB, free: 6.785 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.01916, allocations: 287.3 kB / 389.8 MB, free: 6.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.222e-05/0.01921, allocations: 71.61 kB / 389.8 MB, free: 6.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-05/0.01928, allocations: 67.34 kB / 389.9 MB, free: 6.355 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.01944, allocations: 0.5508 MB / 390.4 MB, free: 5.793 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.153e-05/0.01951, allocations: 43.95 kB / 390.5 MB, free: 5.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.01971, allocations: 400.5 kB / 390.9 MB, free: 5.242 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.0199, allocations: 174.4 kB / 391.1 MB, free: 5.039 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.0199, allocations: 0 / 391.1 MB, free: 5.039 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002955/0.0202, allocations: 253.2 kB / 391.3 MB, free: 4.785 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.02021, allocations: 10.03 kB / 391.3 MB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.02022, allocations: 4 kB / 391.3 MB, free: 4.773 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.02024, allocations: 4 kB / 391.3 MB, free: 4.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.02039, allocations: 55.91 kB / 391.4 MB, free: 4.715 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.0204, allocations: 7.938 kB / 391.4 MB, free: 4.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.0205, allocations: 27.83 kB / 391.4 MB, free: 4.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.02052, allocations: 15.94 kB / 391.4 MB, free: 4.664 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.0001323/0.02065, allocations: 192.8 kB / 391.6 MB, free: 4.465 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.607e-05/0.02072, allocations: 63.67 kB / 391.7 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000376/0.02109, allocations: 297.7 kB / 392 MB, free: 4.105 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.0211, allocations: 4 kB / 392 MB, free: 4.102 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.0211, allocations: 0 / 392 MB, free: 4.102 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.02111, allocations: 0 / 392 MB, free: 4.102 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004057/0.02151, allocations: 332.3 kB / 392.3 MB, free: 3.742 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.02151, allocations: 0 / 392.3 MB, free: 3.742 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.264e-05/0.0216, allocations: 35.92 kB / 392.3 MB, free: 3.707 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.0216, allocations: 4 kB / 392.3 MB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.02162, allocations: 11.98 kB / 392.3 MB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.02162, allocations: 0 / 392.3 MB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.02162, allocations: 4 kB / 392.3 MB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.02196, allocations: 346.9 kB / 392.7 MB, free: 3.312 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.628e-05/0.02201, allocations: 59.59 kB / 392.7 MB, free: 3.254 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.101e-05/0.02205, allocations: 12 kB / 392.8 MB, free: 3.242 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.27e-05/0.02213, allocations: 11.98 kB / 392.8 MB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.029e-05/0.02221, allocations: 43.94 kB / 392.8 MB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-05/0.02223, allocations: 15.94 kB / 392.8 MB, free: 3.172 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002812/0.02251, allocations: 386.7 kB / 393.2 MB, free: 2.797 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02251, allocations: 0 / 393.2 MB, free: 2.797 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003245/0.02284, allocations: 99.88 kB / 393.3 MB, free: 2.699 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.0009335/0.02377, allocations: 435.9 kB / 393.7 MB, free: 2.398 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003084/0.02408, allocations: 163.5 kB / 393.9 MB, free: 2.234 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.02408, allocations: 0 / 393.9 MB, free: 2.234 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.02421, allocations: 99.98 kB / 394 MB, free: 2.133 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.02469, allocations: 170.3 kB / 394.1 MB, free: 1.984 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008676/0.02556, allocations: 0.7183 MB / 394.9 MB, free: 1.219 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.811e-05/0.02565, allocations: 133.5 kB / 395 MB, free: 1.062 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001481/0.0258, allocations: 79.78 kB / 395.1 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.0259, allocations: 64.47 kB / 395.1 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.0259, allocations: 0 / 395.1 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of Templates: time 0.01108/0.03698, allocations: 7.989 MB / 403.1 MB, free: 9.02 MB / 378.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.2797208060510457]