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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001403/0.001403, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009441/0.0009441, allocations: 112.3 kB / 296.7 MB, free: 6.488 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3684/0.3684, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 63.91 kB / 465.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.313, allocations: 62.02 MB / 0.5151 GB, free: 37.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002766/0.3158, allocations: 2.376 MB / 0.5175 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.3177, allocations: 1.73 MB / 0.5192 GB, free: 34.92 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.3179, allocations: 6.656 kB / 0.5192 GB, free: 34.92 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003335/0.3182, allocations: 129.1 kB / 0.5193 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003584/0.3186, allocations: 257.6 kB / 0.5195 GB, free: 34.74 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.3197, allocations: 0.6048 MB / 0.5201 GB, free: 34.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003707/0.32, allocations: 0.5264 MB / 0.5206 GB, free: 34.2 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.3202, allocations: 71.61 kB / 0.5207 GB, free: 34.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.3203, allocations: 210.7 kB / 0.5209 GB, free: 34.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.3205, allocations: 220.2 kB / 0.5211 GB, free: 33.99 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.02e-05/0.3206, allocations: 8.781 kB / 0.5211 GB, free: 33.99 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.3208, allocations: 133.5 kB / 0.5212 GB, free: 33.95 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.3209, allocations: 119.1 kB / 0.5214 GB, free: 33.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.321, allocations: 195.7 kB / 0.5215 GB, free: 33.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004212/0.3214, allocations: 0.5792 MB / 0.5221 GB, free: 33.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.3215, allocations: 0 / 0.5221 GB, free: 33.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.3215, allocations: 0 / 0.5221 GB, free: 33.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.3215, allocations: 0 / 0.5221 GB, free: 33.54 MB / 378.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.0009266/0.3224, allocations: 0.9097 MB / 0.523 GB, free: 32.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.3224, allocations: 11.97 kB / 0.523 GB, free: 32.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.796e-05/0.3225, allocations: 56 kB / 0.5231 GB, free: 32.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004549/0.323, allocations: 480.2 kB / 0.5235 GB, free: 32.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.323, allocations: 13.05 kB / 0.5235 GB, free: 32.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.3231, allocations: 16.41 kB / 0.5236 GB, free: 32.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.3234, allocations: 265.1 kB / 0.5238 GB, free: 32.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3234, allocations: 7.984 kB / 0.5238 GB, free: 32.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.3235, allocations: 6.75 kB / 0.5238 GB, free: 32.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3235, allocations: 5.719 kB / 0.5238 GB, free: 32.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002467/0.3237, allocations: 109.2 kB / 0.5239 GB, free: 32.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007594/0.3245, allocations: 0.889 MB / 0.5248 GB, free: 31.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005317/0.325, allocations: 294.4 kB / 0.5251 GB, free: 31.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.3252, allocations: 108.4 kB / 0.5252 GB, free: 31.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.3253, allocations: 2.5 kB / 0.5252 GB, free: 31.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003575/0.3256, allocations: 220.3 kB / 0.5254 GB, free: 31.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.613e-06/0.3256, allocations: 0 / 0.5254 GB, free: 31.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007693/0.3264, allocations: 407.7 kB / 0.5258 GB, free: 30.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/0.3265, allocations: 347.9 kB / 0.5261 GB, free: 30.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005511/0.327, allocations: 0.6653 MB / 0.5268 GB, free: 30.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.3271, allocations: 35.64 kB / 0.5268 GB, free: 30.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.3272, allocations: 237.1 kB / 0.527 GB, free: 30.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.3272, allocations: 60.88 kB / 0.5271 GB, free: 29.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-05/0.3273, allocations: 65.08 kB / 0.5271 GB, free: 29.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.242e-05/0.3274, allocations: 368.6 kB / 0.5275 GB, free: 29.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.3276, allocations: 87.97 kB / 0.5276 GB, free: 29.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/0.3278, allocations: 248.4 kB / 0.5278 GB, free: 29.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/0.3282, allocations: 237.8 kB / 0.528 GB, free: 29.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3282, allocations: 0 / 0.528 GB, free: 29.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004978/0.3287, allocations: 312.7 kB / 0.5283 GB, free: 29.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.3287, allocations: 9.875 kB / 0.5284 GB, free: 29.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.3287, allocations: 3 kB / 0.5284 GB, free: 29.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3288, allocations: 10.81 kB / 0.5284 GB, free: 29.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.329, allocations: 53.92 kB / 0.5284 GB, free: 29.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.329, allocations: 7 kB / 0.5284 GB, free: 29.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.3292, allocations: 30.83 kB / 0.5285 GB, free: 29.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.3292, allocations: 15.66 kB / 0.5285 GB, free: 29.05 MB / 378.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.0001612/0.3294, allocations: 219.9 kB / 0.5287 GB, free: 28.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.55e-05/0.3294, allocations: 64.56 kB / 0.5287 GB, free: 28.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.799e-05/0.3295, allocations: 54.22 kB / 0.5288 GB, free: 28.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3295, allocations: 9.656 kB / 0.5288 GB, free: 28.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3295, allocations: 0 / 0.5288 GB, free: 28.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3296, allocations: 10.44 kB / 0.5288 GB, free: 28.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.3298, allocations: 416.3 kB / 0.5292 GB, free: 28.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3298, allocations: 2.688 kB / 0.5292 GB, free: 28.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.33, allocations: 21.75 kB / 0.5292 GB, free: 28.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.33, allocations: 2.969 kB / 0.5292 GB, free: 28.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.33, allocations: 9.875 kB / 0.5292 GB, free: 28.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.33, allocations: 10.56 kB / 0.5293 GB, free: 28.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.33, allocations: 2.594 kB / 0.5293 GB, free: 28.53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000883/0.3309, allocations: 1.109 MB / 0.5303 GB, free: 27.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.627e-05/0.331, allocations: 131.8 kB / 0.5305 GB, free: 27.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.686e-05/0.331, allocations: 13.06 kB / 0.5305 GB, free: 27.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.3312, allocations: 19.53 kB / 0.5305 GB, free: 27.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.98e-05/0.3313, allocations: 36.36 kB / 0.5305 GB, free: 27.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.3313, allocations: 15.86 kB / 0.5305 GB, free: 27.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003933/0.3317, allocations: 493.3 kB / 0.531 GB, free: 27.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3317, allocations: 0 / 0.531 GB, free: 27.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004471/0.3322, allocations: 100.6 kB / 0.5311 GB, free: 27.3 MB / 378.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.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 16 * 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.0008715/0.3331, allocations: 466.4 kB / 0.5316 GB, free: 27.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004762/0.3335, allocations: 230.9 kB / 0.5318 GB, free: 26.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.3336, allocations: 2.812 kB / 0.5318 GB, free: 26.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000283/0.3338, allocations: 167.8 kB / 0.5319 GB, free: 26.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006172/0.3345, allocations: 134.1 kB / 0.5321 GB, free: 26.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.3355, allocations: 1.113 MB / 0.5332 GB, free: 26.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.3358, allocations: 0.8542 MB / 0.534 GB, free: 25.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002293/0.336, allocations: 85.12 kB / 0.5341 GB, free: 25.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.3361, allocations: 52.25 kB / 0.5341 GB, free: 25.41 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3361, allocations: 0 / 0.5341 GB, free: 25.41 MB / 378.7 MB Notification: Performance of Templates: time 0.0124/0.3485, allocations: 7.465 MB / 0.5414 GB, free: 24.52 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches