Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001471/0.001471, allocations: 88.28 kB / 20.96 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001611/0.001611, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 177 MB / 204.5 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.522/0.522, allocations: 34.25 MB / 295.2 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.IntegerTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.797e-05, allocations: 4.562 kB / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004022/0.00405, allocations: 2.201 MB / 379.4 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003644/0.007694, allocations: 1.634 MB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.007853, allocations: 11.94 kB / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004644/0.008317, allocations: 147.1 kB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007085/0.009026, allocations: 298.6 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.01048, allocations: 0.5299 MB / 382 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000747/0.01123, allocations: 0.588 MB / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.01138, allocations: 41.25 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004408/0.01182, allocations: 311.2 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003101/0.01213, allocations: 207.4 kB / 383.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.933e-05/0.01219, allocations: 28 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003826/0.01258, allocations: 191.7 kB / 383.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.01276, allocations: 143.4 kB / 383.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.01293, allocations: 111.6 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008546/0.01379, allocations: 0.6191 MB / 384.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.01379, allocations: 3.938 kB / 384.2 MB, free: 11.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.01379, allocations: 0 / 384.2 MB, free: 11.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.535e-06/0.0138, allocations: 0 / 384.2 MB, free: 11.83 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.001611/0.01541, allocations: 0.8496 MB / 385.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.01546, allocations: 8.031 kB / 385.1 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.01562, allocations: 72.56 kB / 385.2 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008121/0.01643, allocations: 428.4 kB / 385.6 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.01646, allocations: 12.61 kB / 385.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.592e-05/0.0165, allocations: 12.38 kB / 385.6 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005935/0.01709, allocations: 349.1 kB / 385.9 MB, free: 9.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.0171, allocations: 192 / 385.9 MB, free: 9.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.01714, allocations: 8.375 kB / 386 MB, free: 9.973 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.01714, allocations: 3.938 kB / 386 MB, free: 9.969 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003637/0.01751, allocations: 131.8 kB / 386.1 MB, free: 9.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.0187, allocations: 0.7856 MB / 386.9 MB, free: 9.012 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007696/0.01947, allocations: 290.8 kB / 387.2 MB, free: 8.691 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.01974, allocations: 103.4 kB / 387.3 MB, free: 8.578 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.01976, allocations: 12 kB / 387.3 MB, free: 8.566 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004957/0.02026, allocations: 238.3 kB / 387.5 MB, free: 8.309 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.262e-06/0.02026, allocations: 3.938 kB / 387.5 MB, free: 8.305 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.00128/0.02154, allocations: 430 kB / 387.9 MB, free: 7.879 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001786/0.02172, allocations: 239.3 kB / 388.2 MB, free: 7.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009539/0.02267, allocations: 0.6708 MB / 388.8 MB, free: 6.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.02272, allocations: 33.7 kB / 388.9 MB, free: 6.871 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.02295, allocations: 240.5 kB / 389.1 MB, free: 6.633 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.32e-05/0.02304, allocations: 67.53 kB / 389.2 MB, free: 6.566 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.02316, allocations: 57.69 kB / 389.2 MB, free: 6.504 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002326/0.02339, allocations: 370.7 kB / 389.6 MB, free: 6.133 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.02364, allocations: 95.98 kB / 389.7 MB, free: 6.039 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005449/0.02418, allocations: 435.2 kB / 390.1 MB, free: 5.516 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005721/0.02475, allocations: 242.7 kB / 390.3 MB, free: 5.254 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/0.02476, allocations: 4 kB / 390.3 MB, free: 5.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007802/0.02554, allocations: 341.1 kB / 390.7 MB, free: 4.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.02556, allocations: 8 kB / 390.7 MB, free: 4.902 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.02556, allocations: 0 / 390.7 MB, free: 4.902 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.02558, allocations: 4 kB / 390.7 MB, free: 4.898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.02587, allocations: 64.03 kB / 390.7 MB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.02588, allocations: 3.938 kB / 390.8 MB, free: 4.832 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.0261, allocations: 31.83 kB / 390.8 MB, free: 4.801 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.02613, allocations: 11.98 kB / 390.8 MB, free: 4.789 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.000282/0.02641, allocations: 221.8 kB / 391 MB, free: 4.562 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.02654, allocations: 67.66 kB / 391.1 MB, free: 4.496 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008876/0.02742, allocations: 377.7 kB / 391.4 MB, free: 4.121 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.02743, allocations: 4 kB / 391.5 MB, free: 4.117 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.02744, allocations: 0 / 391.5 MB, free: 4.117 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.02745, allocations: 3.984 kB / 391.5 MB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004473/0.02789, allocations: 324.9 kB / 391.8 MB, free: 3.766 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.0279, allocations: 7.938 kB / 391.8 MB, free: 3.758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.02806, allocations: 31.91 kB / 391.8 MB, free: 3.727 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.02806, allocations: 4 kB / 391.8 MB, free: 3.723 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.02809, allocations: 8 kB / 391.8 MB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.236e-06/0.0281, allocations: 7.984 kB / 391.8 MB, free: 3.707 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.0281, allocations: 4.438 kB / 391.8 MB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008194/0.02892, allocations: 415 kB / 392.2 MB, free: 3.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.02903, allocations: 59.59 kB / 392.3 MB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.708e-05/0.0291, allocations: 8 kB / 392.3 MB, free: 3.203 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.02928, allocations: 15.98 kB / 392.3 MB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.0294, allocations: 39.94 kB / 392.4 MB, free: 3.148 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/0.02944, allocations: 15.98 kB / 392.4 MB, free: 3.133 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006926/0.03013, allocations: 494.8 kB / 392.9 MB, free: 2.652 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03013, allocations: 0 / 392.9 MB, free: 2.652 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004598/0.03059, allocations: 103.9 kB / 393 MB, free: 2.551 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.002168/0.03276, allocations: 498.8 kB / 393.4 MB, free: 2.203 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006581/0.03342, allocations: 235.7 kB / 393.7 MB, free: 1.973 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.03342, allocations: 0 / 393.7 MB, free: 1.973 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004016/0.03382, allocations: 172 kB / 393.8 MB, free: 1.805 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007508/0.03457, allocations: 157.3 kB / 394 MB, free: 1.656 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.0361, allocations: 0.8497 MB / 394.8 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.03652, allocations: 250.1 kB / 395.1 MB, free: 500 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002364/0.03676, allocations: 91.28 kB / 395.2 MB, free: 408 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.03692, allocations: 56.48 kB / 395.2 MB, free: 352 kB / 362.7 MB Notification: Performance of SimCode: time 4.1e-07/0.03692, allocations: 0 / 395.2 MB, free: 352 kB / 362.7 MB Notification: Performance of Templates: time 0.01618/0.05311, allocations: 7.985 MB / 403.2 MB, free: 8.445 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.06607086409349]