Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007959/0.000796, allocations: 97.48 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000887/0.0008872, allocations: 177.8 kB / 16.91 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.576/1.576, allocations: 205.4 MB / 223.1 MB, free: 5.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3798/0.3798, allocations: 43.57 MB / 315 MB, free: 8.797 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005133/0.0005134, allocations: 16 kB / 384.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1415, allocations: 58.86 MB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002626/0.1442, allocations: 1.966 MB / 445.5 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002262/0.1465, allocations: 1.432 MB / 446.9 MB, free: 9.172 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.1466, allocations: 0 / 446.9 MB, free: 9.172 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004205/0.1471, allocations: 127.5 kB / 447.1 MB, free: 9.047 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003809/0.1475, allocations: 199.2 kB / 447.3 MB, free: 8.852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.1488, allocations: 0.5811 MB / 447.8 MB, free: 8.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005304/0.1493, allocations: 494.5 kB / 448.3 MB, free: 7.785 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.1495, allocations: 77.28 kB / 448.4 MB, free: 7.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/0.1498, allocations: 195 kB / 448.6 MB, free: 7.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002243/0.15, allocations: 199 kB / 448.8 MB, free: 7.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/0.1501, allocations: 8 kB / 448.8 MB, free: 7.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002446/0.1503, allocations: 131.8 kB / 448.9 MB, free: 7.184 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.1505, allocations: 115.5 kB / 449 MB, free: 7.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.1506, allocations: 204.5 kB / 449.2 MB, free: 6.863 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005374/0.1512, allocations: 0.5371 MB / 449.8 MB, free: 6.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1512, allocations: 4 kB / 449.8 MB, free: 6.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1512, allocations: 0 / 449.8 MB, free: 6.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.1512, allocations: 4 kB / 449.8 MB, free: 6.316 MB / 382.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.001062/0.1523, allocations: 0.7972 MB / 450.6 MB, free: 5.445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1523, allocations: 12.03 kB / 450.6 MB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.452e-05/0.1524, allocations: 46.73 kB / 450.6 MB, free: 5.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.833e-05/0.1525, allocations: 52.28 kB / 450.7 MB, free: 5.328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005546/0.1531, allocations: 476 kB / 451.1 MB, free: 4.824 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.1531, allocations: 12.61 kB / 451.2 MB, free: 4.812 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/0.1531, allocations: 19.92 kB / 451.2 MB, free: 4.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004456/0.1536, allocations: 257.4 kB / 451.4 MB, free: 4.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1536, allocations: 0 / 451.4 MB, free: 4.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.1536, allocations: 8 kB / 451.4 MB, free: 4.492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1536, allocations: 0 / 451.4 MB, free: 4.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/0.154, allocations: 111.9 kB / 451.5 MB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.155, allocations: 0.8757 MB / 452.4 MB, free: 3.445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006569/0.1556, allocations: 298.5 kB / 452.7 MB, free: 3.117 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.1559, allocations: 111.4 kB / 452.8 MB, free: 2.996 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/0.1559, allocations: 4 kB / 452.8 MB, free: 2.992 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004108/0.1563, allocations: 218.6 kB / 453 MB, free: 2.754 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.493e-06/0.1563, allocations: 0 / 453 MB, free: 2.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009004/0.1572, allocations: 401.6 kB / 453.4 MB, free: 2.355 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.1574, allocations: 342.1 kB / 453.8 MB, free: 1.941 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006891/0.1581, allocations: 0.6316 MB / 454.4 MB, free: 1.297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.1581, allocations: 41.64 kB / 454.4 MB, free: 1.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.1583, allocations: 228.4 kB / 454.7 MB, free: 1.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.676e-05/0.1584, allocations: 71.25 kB / 454.7 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.1584, allocations: 29.7 kB / 454.8 MB, free: 0.918 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1586, allocations: 366.8 kB / 455.1 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.1588, allocations: 79.95 kB / 455.2 MB, free: 484 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/0.1591, allocations: 241.1 kB / 455.4 MB, free: 180 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.234/0.3932, allocations: 232.7 kB / 455.7 MB, free: 45.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.3932, allocations: 2.875 kB / 455.7 MB, free: 45.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007387/0.3939, allocations: 311.1 kB / 456 MB, free: 45.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.394, allocations: 6 kB / 456 MB, free: 45.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.394, allocations: 2.25 kB / 456 MB, free: 45.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.394, allocations: 7.75 kB / 456 MB, free: 45.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.3943, allocations: 55.72 kB / 456 MB, free: 45.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3943, allocations: 3.641 kB / 456 MB, free: 45.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.3945, allocations: 33.31 kB / 456.1 MB, free: 45.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.3945, allocations: 11.81 kB / 456.1 MB, free: 45.91 MB / 382.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.0002498/0.3948, allocations: 221 kB / 456.3 MB, free: 45.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-05/0.3949, allocations: 49.16 kB / 456.3 MB, free: 45.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.798e-05/0.395, allocations: 63.34 kB / 456.4 MB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.395, allocations: 2.844 kB / 456.4 MB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.395, allocations: 4.188 kB / 456.4 MB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.395, allocations: 0 / 456.4 MB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003403/0.3953, allocations: 409.4 kB / 456.8 MB, free: 45.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3954, allocations: 0.6875 kB / 456.8 MB, free: 45.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.3955, allocations: 29 kB / 456.8 MB, free: 45.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3955, allocations: 0 / 456.8 MB, free: 45.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.3955, allocations: 9.766 kB / 456.8 MB, free: 45.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.3955, allocations: 4.359 kB / 456.9 MB, free: 45.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3955, allocations: 3.844 kB / 456.9 MB, free: 45.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005488/0.3961, allocations: 367.2 kB / 457.2 MB, free: 45.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.677e-05/0.3962, allocations: 139.1 kB / 457.4 MB, free: 45.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.111e-05/0.3962, allocations: 13.66 kB / 457.4 MB, free: 45.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.3964, allocations: 18.69 kB / 457.4 MB, free: 45.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.904e-05/0.3965, allocations: 38.78 kB / 457.4 MB, free: 45.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/0.3965, allocations: 18.58 kB / 457.4 MB, free: 45.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004171/0.397, allocations: 461.2 kB / 457.9 MB, free: 45.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.162e-06/0.397, allocations: 2.688 kB / 457.9 MB, free: 45.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003901/0.3974, allocations: 106.7 kB / 458 MB, free: 45.3 MB / 382.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.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.001657/0.399, allocations: 1.253 MB / 459.2 MB, free: 44.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004901/0.3995, allocations: 232.2 kB / 459.5 MB, free: 44.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3995, allocations: 0 / 459.5 MB, free: 44.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002845/0.3998, allocations: 168.2 kB / 459.6 MB, free: 44.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007283/0.4006, allocations: 141.9 kB / 459.8 MB, free: 44.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004936/0.4055, allocations: 4.341 MB / 464.1 MB, free: 42.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.4058, allocations: 0.8433 MB / 465 MB, free: 41.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002434/0.406, allocations: 88.47 kB / 465 MB, free: 41.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/0.4063, allocations: 159.6 kB / 465.2 MB, free: 41.97 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4063, allocations: 0 / 465.2 MB, free: 41.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02352/0.4298, allocations: 11.54 MB / 476.7 MB, free: 40.86 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001526/0.43, allocations: 225.4 kB / 477 MB, free: 40.6 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.048/2.478, allocations: 0 / 477 MB, free: 40.6 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegerTable_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegerTable.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches