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.0016/0.0016, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002197/0.002197, allocations: 161.7 kB / 24.26 MB, free: 176 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 1.537/1.537, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3994/0.3994, allocations: 34.27 MB / 295.3 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 179] 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.393e-06/1.393e-06, allocations: 0 / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.562e-05, allocations: 2.312 kB / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003953/0.003978, allocations: 2.205 MB / 379.5 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003331/0.007309, allocations: 1.624 MB / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.007449, allocations: 7.938 kB / 381.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004824/0.007931, allocations: 155.1 kB / 381.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006984/0.00863, allocations: 290.6 kB / 381.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.01042, allocations: 0.5377 MB / 382.1 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008198/0.01124, allocations: 0.5842 MB / 382.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.0114, allocations: 45.25 kB / 382.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004704/0.01187, allocations: 307.2 kB / 383 MB, free: 13.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003037/0.01217, allocations: 211.4 kB / 383.2 MB, free: 12.99 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.869e-05/0.01223, allocations: 28 kB / 383.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003683/0.0126, allocations: 183.8 kB / 383.4 MB, free: 12.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.0128, allocations: 139.4 kB / 383.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.01296, allocations: 123.5 kB / 383.7 MB, free: 12.53 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008189/0.01378, allocations: 0.6152 MB / 384.3 MB, free: 11.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.01379, allocations: 3.984 kB / 384.3 MB, free: 11.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01379, allocations: 0 / 384.3 MB, free: 11.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.0138, allocations: 3.938 kB / 384.3 MB, free: 11.9 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.001413/0.01521, allocations: 0.8457 MB / 385.1 MB, free: 11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.01525, allocations: 8.031 kB / 385.2 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.0154, allocations: 72.56 kB / 385.2 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007427/0.01614, allocations: 432.4 kB / 385.6 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.01617, allocations: 12.61 kB / 385.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.01621, allocations: 12.38 kB / 385.7 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006069/0.01681, allocations: 357.1 kB / 386 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.01683, allocations: 3.938 kB / 386 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.01685, allocations: 0 / 386 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.01686, allocations: 4 kB / 386 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003538/0.01721, allocations: 131.8 kB / 386.2 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.01841, allocations: 0.7817 MB / 386.9 MB, free: 9.086 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007678/0.01918, allocations: 294.8 kB / 387.2 MB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002752/0.01946, allocations: 107.4 kB / 387.3 MB, free: 8.645 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.01948, allocations: 4 kB / 387.3 MB, free: 8.641 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005112/0.01999, allocations: 236.8 kB / 387.6 MB, free: 8.387 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.382e-06/0.01999, allocations: 3.938 kB / 387.6 MB, free: 8.383 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.001152/0.02114, allocations: 433 kB / 388 MB, free: 7.953 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001782/0.02132, allocations: 235.3 kB / 388.2 MB, free: 7.668 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009453/0.02227, allocations: 0.6747 MB / 388.9 MB, free: 6.984 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.896e-05/0.02232, allocations: 41.69 kB / 388.9 MB, free: 6.938 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005158/0.02283, allocations: 232.5 kB / 389.2 MB, free: 6.707 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.374e-05/0.02292, allocations: 67.53 kB / 389.2 MB, free: 6.641 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.02303, allocations: 61.69 kB / 389.3 MB, free: 6.574 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002423/0.02327, allocations: 370.7 kB / 389.7 MB, free: 6.203 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.02352, allocations: 91.92 kB / 389.7 MB, free: 6.113 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005458/0.02407, allocations: 435.7 kB / 390.2 MB, free: 5.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005468/0.02462, allocations: 239.7 kB / 390.4 MB, free: 5.332 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.02462, allocations: 4 kB / 390.4 MB, free: 5.328 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007551/0.02538, allocations: 345 kB / 390.7 MB, free: 4.984 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.0254, allocations: 8 kB / 390.8 MB, free: 4.977 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.02541, allocations: 0 / 390.8 MB, free: 4.977 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/0.02543, allocations: 4.125 kB / 390.8 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/0.02573, allocations: 55.91 kB / 390.8 MB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.02575, allocations: 7.938 kB / 390.8 MB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/0.02596, allocations: 31.83 kB / 390.8 MB, free: 4.879 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.02599, allocations: 19.92 kB / 390.9 MB, free: 4.859 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.0002756/0.02626, allocations: 217.7 kB / 391.1 MB, free: 4.637 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.02638, allocations: 59.66 kB / 391.1 MB, free: 4.578 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008927/0.02727, allocations: 385.8 kB / 391.5 MB, free: 4.195 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.02728, allocations: 4 kB / 391.5 MB, free: 4.191 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.02729, allocations: 8.234 kB / 391.5 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.02729, allocations: 0 / 391.5 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004462/0.02774, allocations: 328.9 kB / 391.8 MB, free: 3.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.02774, allocations: 3.938 kB / 391.9 MB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.0279, allocations: 35.91 kB / 391.9 MB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.0279, allocations: 4 kB / 391.9 MB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.02793, allocations: 11.98 kB / 391.9 MB, free: 3.777 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.02793, allocations: 0 / 391.9 MB, free: 3.777 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.02794, allocations: 8 kB / 391.9 MB, free: 3.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008225/0.02876, allocations: 399.1 kB / 392.3 MB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.968e-05/0.02886, allocations: 59.59 kB / 392.4 MB, free: 3.293 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.747e-05/0.02893, allocations: 12 kB / 392.4 MB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.02911, allocations: 19.97 kB / 392.4 MB, free: 3.262 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.02923, allocations: 35.95 kB / 392.4 MB, free: 3.227 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.104e-05/0.02927, allocations: 23.92 kB / 392.4 MB, free: 3.203 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000671/0.02994, allocations: 498.8 kB / 392.9 MB, free: 2.719 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02994, allocations: 0 / 392.9 MB, free: 2.719 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004382/0.03038, allocations: 91.94 kB / 393 MB, free: 2.629 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.002166/0.03254, allocations: 498.1 kB / 393.5 MB, free: 2.316 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006769/0.03322, allocations: 243.7 kB / 393.8 MB, free: 2.078 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.03322, allocations: 0 / 393.8 MB, free: 2.078 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004382/0.03366, allocations: 176 kB / 393.9 MB, free: 1.906 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007559/0.03442, allocations: 177 kB / 394.1 MB, free: 1.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.03591, allocations: 0.8454 MB / 394.9 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.03623, allocations: 258 kB / 395.2 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002354/0.03647, allocations: 83.3 kB / 395.3 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.03662, allocations: 56.48 kB / 395.3 MB, free: 452 kB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.03662, allocations: 0 / 395.3 MB, free: 452 kB / 362.7 MB Notification: Performance of Templates: time 0.01659/0.05321, allocations: 7.981 MB / 403.3 MB, free: 8.547 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.183451835997403]