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.001394/0.001394, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.001454/0.001454, allocations: 207.3 kB / 23.72 MB, free: 4.391 MB / 14.72 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.387/1.387, allocations: 230.5 MB / 257.4 MB, free: 7.738 MB / 206.1 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.2176/0.2176, allocations: 46.94 MB / 360.8 MB, free: 3.891 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002347/0.002347, allocations: 83.86 kB / 0.4962 GB, free: 7.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3132, allocations: 66.08 MB / 0.5607 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.00418/0.3174, allocations: 2.199 MB / 0.5628 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003338/0.3208, allocations: 1.619 MB / 0.5644 GB, free: 152 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002616/0.321, allocations: 7.938 kB / 0.5644 GB, free: 144 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00048/0.3215, allocations: 143.2 kB / 0.5646 GB, free: 0 / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008551/0.3224, allocations: 294.8 kB / 0.5648 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.3238, allocations: 0.5334 MB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007413/0.3245, allocations: 0.5842 MB / 0.5659 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.3247, allocations: 51.08 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002966/0.325, allocations: 235 kB / 0.5662 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003058/0.3253, allocations: 235 kB / 0.5664 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.017e-05/0.3253, allocations: 28 kB / 0.5665 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003942/0.3257, allocations: 191.8 kB / 0.5666 GB, free: 13.87 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.3259, allocations: 131.5 kB / 0.5668 GB, free: 13.74 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.326, allocations: 159 kB / 0.5669 GB, free: 13.58 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007148/0.3268, allocations: 0.603 MB / 0.5675 GB, free: 12.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3268, allocations: 3.938 kB / 0.5675 GB, free: 12.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3268, allocations: 0 / 0.5675 GB, free: 12.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.3268, allocations: 4 kB / 0.5675 GB, free: 12.97 MB / 414.1 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.001284/0.3281, allocations: 0.8457 MB / 0.5683 GB, free: 12.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.3281, allocations: 16.02 kB / 0.5684 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.091e-05/0.3282, allocations: 46.69 kB / 0.5684 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.3283, allocations: 60.55 kB / 0.5685 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000709/0.329, allocations: 425.1 kB / 0.5689 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.329, allocations: 8.609 kB / 0.5689 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.329, allocations: 20.36 kB / 0.5689 GB, free: 11.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005337/0.3296, allocations: 348.6 kB / 0.5692 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3296, allocations: 0 / 0.5692 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.3296, allocations: 8 kB / 0.5692 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.3296, allocations: 4 kB / 0.5692 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003119/0.3299, allocations: 119.8 kB / 0.5693 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.3311, allocations: 0.8202 MB / 0.5701 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006853/0.3318, allocations: 294.8 kB / 0.5704 GB, free: 9.746 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000236/0.332, allocations: 103.3 kB / 0.5705 GB, free: 9.633 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.332, allocations: 8 kB / 0.5705 GB, free: 9.625 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004282/0.3325, allocations: 226.5 kB / 0.5708 GB, free: 9.379 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.503e-06/0.3325, allocations: 0 / 0.5708 GB, free: 9.379 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001008/0.3335, allocations: 429.4 kB / 0.5712 GB, free: 8.953 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001451/0.3336, allocations: 243.3 kB / 0.5714 GB, free: 8.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00083/0.3344, allocations: 0.6709 MB / 0.572 GB, free: 7.977 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.3345, allocations: 33.7 kB / 0.5721 GB, free: 7.938 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.3347, allocations: 244.4 kB / 0.5723 GB, free: 7.695 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.788e-05/0.3348, allocations: 67.47 kB / 0.5724 GB, free: 7.629 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.819e-05/0.3349, allocations: 61.69 kB / 0.5724 GB, free: 7.562 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.3351, allocations: 366.8 kB / 0.5728 GB, free: 7.195 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.3353, allocations: 91.94 kB / 0.5729 GB, free: 7.105 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004473/0.3357, allocations: 429.8 kB / 0.5733 GB, free: 6.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004846/0.3362, allocations: 239.4 kB / 0.5735 GB, free: 6.332 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3362, allocations: 0 / 0.5735 GB, free: 6.332 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006662/0.3369, allocations: 333 kB / 0.5738 GB, free: 6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3369, allocations: 8 kB / 0.5738 GB, free: 5.992 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.3369, allocations: 0 / 0.5738 GB, free: 5.992 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3369, allocations: 4 kB / 0.5738 GB, free: 5.988 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.3372, allocations: 60.03 kB / 0.5739 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.3372, allocations: 12 kB / 0.5739 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.3374, allocations: 31.86 kB / 0.5739 GB, free: 5.887 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.3374, allocations: 11.98 kB / 0.574 GB, free: 5.875 MB / 414.1 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.0002486/0.3377, allocations: 214.3 kB / 0.5742 GB, free: 5.656 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.867e-05/0.3378, allocations: 63.56 kB / 0.5742 GB, free: 5.594 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008096/0.3386, allocations: 381.8 kB / 0.5746 GB, free: 5.207 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.3386, allocations: 4 kB / 0.5746 GB, free: 5.203 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.3386, allocations: 3.938 kB / 0.5746 GB, free: 5.199 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.3386, allocations: 11.97 kB / 0.5746 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004222/0.339, allocations: 352.7 kB / 0.5749 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.339, allocations: 4 kB / 0.5749 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.3392, allocations: 31.92 kB / 0.575 GB, free: 4.766 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.3392, allocations: 4 kB / 0.575 GB, free: 4.762 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.3392, allocations: 11.98 kB / 0.575 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.3392, allocations: 4 kB / 0.575 GB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3392, allocations: 3.938 kB / 0.575 GB, free: 4.742 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000713/0.3399, allocations: 399.1 kB / 0.5754 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.34, allocations: 59.59 kB / 0.5754 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.486e-05/0.3401, allocations: 12 kB / 0.5754 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.3402, allocations: 15.92 kB / 0.5755 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.3404, allocations: 43.94 kB / 0.5755 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.038e-05/0.3404, allocations: 15.94 kB / 0.5755 GB, free: 4.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005962/0.341, allocations: 498.8 kB / 0.576 GB, free: 3.695 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.341, allocations: 0 / 0.576 GB, free: 3.695 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004113/0.3414, allocations: 103.8 kB / 0.5761 GB, free: 3.594 MB / 414.1 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.002707/0.3441, allocations: 1.305 MB / 0.5774 GB, free: 2.402 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005792/0.3447, allocations: 235.7 kB / 0.5776 GB, free: 2.172 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3447, allocations: 0 / 0.5776 GB, free: 2.172 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004088/0.3451, allocations: 176.1 kB / 0.5778 GB, free: 2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006861/0.3458, allocations: 158.8 kB / 0.5779 GB, free: 1.855 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005931/0.3517, allocations: 4.343 MB / 0.5821 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.352, allocations: 246.1 kB / 0.5824 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002381/0.3522, allocations: 91.28 kB / 0.5825 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002844/0.3525, allocations: 179.4 kB / 0.5826 GB, free: 12.82 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3525, allocations: 0 / 0.5826 GB, free: 12.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04222/0.3947, allocations: 13.94 MB / 0.5963 GB, free: 14.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.48, allocations: 8.062 kB / 0.5963 GB, free: 14.94 MB / 446.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_IntegerTable_fmu --startTime=0 --stopTime=3 --stepSize=0.000599161 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_IntegerTable.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/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: 14.331184034235775]