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) 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/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 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=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/ModelicaServices trunk/package.mo): time 0.0009649/0.0009649, allocations: 97.02 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001053/0.001053, allocations: 201.7 kB / 18.93 MB, free: 4.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.7 MB / 247.5 MB, free: 11.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1847/0.1847, allocations: 46.19 MB / 345.9 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002321/0.0002321, allocations: 8 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09059/0.09084, allocations: 63.56 MB / 483.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002248/0.09312, allocations: 2.01 MB / 485.7 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002319/0.09545, allocations: 1.652 MB / 487.4 MB, free: 484 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.0956, allocations: 7.938 kB / 487.4 MB, free: 476 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003386/0.09595, allocations: 123.5 kB / 487.5 MB, free: 352 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004508/0.09641, allocations: 255.1 kB / 487.8 MB, free: 96 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.09749, allocations: 489.9 kB / 488.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004987/0.098, allocations: 0.5258 MB / 488.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.09816, allocations: 77.06 kB / 488.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002155/0.09838, allocations: 195 kB / 489 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.09861, allocations: 207 kB / 489.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.309e-05/0.09865, allocations: 8 kB / 489.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.09887, allocations: 131.8 kB / 489.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.099, allocations: 115.5 kB / 489.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.09917, allocations: 212.4 kB / 489.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004063/0.09959, allocations: 455.2 kB / 490.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.0996, allocations: 4 kB / 490.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.0996, allocations: 0 / 490.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.319e-06/0.09962, allocations: 0 / 490.1 MB, free: 13.71 MB / 366.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.00101/0.1006, allocations: 0.8205 MB / 491 MB, free: 12.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.1007, allocations: 12.03 kB / 491 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.412e-05/0.1008, allocations: 52.28 kB / 491 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005437/0.1013, allocations: 487.9 kB / 491.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.1013, allocations: 12.59 kB / 491.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.1014, allocations: 20.12 kB / 491.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004258/0.1018, allocations: 266.7 kB / 491.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1018, allocations: 0 / 491.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.1019, allocations: 8 kB / 491.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1019, allocations: 4 kB / 491.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000282/0.1022, allocations: 107.9 kB / 491.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009681/0.1031, allocations: 0.8836 MB / 492.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006178/0.1038, allocations: 294.5 kB / 493.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.104, allocations: 115.3 kB / 493.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.104, allocations: 4 kB / 493.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003898/0.1044, allocations: 226.4 kB / 493.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.482e-06/0.1044, allocations: 0 / 493.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008816/0.1053, allocations: 409.4 kB / 493.8 MB, free: 9.734 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.1055, allocations: 342.1 kB / 494.2 MB, free: 9.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007359/0.1062, allocations: 0.6592 MB / 494.8 MB, free: 8.652 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.1063, allocations: 45.7 kB / 494.9 MB, free: 8.602 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.1064, allocations: 236.5 kB / 495.1 MB, free: 8.367 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.65e-05/0.1065, allocations: 63.23 kB / 495.1 MB, free: 8.305 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.1066, allocations: 29.7 kB / 495.2 MB, free: 8.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1067, allocations: 370.8 kB / 495.5 MB, free: 7.898 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.1069, allocations: 83.95 kB / 495.6 MB, free: 7.816 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.1072, allocations: 241.6 kB / 495.9 MB, free: 7.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004483/0.1077, allocations: 234.7 kB / 496.1 MB, free: 7.266 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1077, allocations: 3.938 kB / 496.1 MB, free: 7.262 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006085/0.1083, allocations: 317.2 kB / 496.4 MB, free: 6.945 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1084, allocations: 10.34 kB / 496.4 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1084, allocations: 0 / 496.4 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.1084, allocations: 7.938 kB / 496.4 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.1086, allocations: 55.89 kB / 496.5 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.1086, allocations: 7.938 kB / 496.5 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.1089, allocations: 35.89 kB / 496.5 MB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.1089, allocations: 16 kB / 496.5 MB, free: 6.816 MB / 366.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.0002231/0.1091, allocations: 221.7 kB / 496.7 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.015e-05/0.1092, allocations: 51.34 kB / 496.8 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.1093, allocations: 60.25 kB / 496.9 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.1093, allocations: 7.938 kB / 496.9 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1093, allocations: 0 / 496.9 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.1093, allocations: 4 kB / 496.9 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003985/0.1097, allocations: 425.2 kB / 497.3 MB, free: 6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1098, allocations: 4 kB / 497.3 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.1099, allocations: 23.98 kB / 497.3 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1099, allocations: 0 / 497.3 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.1099, allocations: 11.98 kB / 497.3 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.1099, allocations: 8.062 kB / 497.3 MB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.1099, allocations: 4 kB / 497.3 MB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000624/0.1106, allocations: 370.7 kB / 497.7 MB, free: 5.559 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.1107, allocations: 136.4 kB / 497.8 MB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.488e-05/0.1108, allocations: 15.98 kB / 497.8 MB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.1109, allocations: 19.92 kB / 497.9 MB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.591e-05/0.111, allocations: 35.95 kB / 497.9 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.1111, allocations: 19.92 kB / 497.9 MB, free: 5.316 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005236/0.1116, allocations: 494.8 kB / 498.4 MB, free: 4.836 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1116, allocations: 0 / 498.4 MB, free: 4.836 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003819/0.112, allocations: 103.9 kB / 498.5 MB, free: 4.734 MB / 366.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.001007/0.113, allocations: 458.3 kB / 498.9 MB, free: 4.414 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005288/0.1136, allocations: 223.8 kB / 499.2 MB, free: 4.195 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1136, allocations: 4.25 kB / 499.2 MB, free: 4.191 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002728/0.1139, allocations: 123.8 kB / 499.3 MB, free: 4.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007263/0.1146, allocations: 143.5 kB / 499.4 MB, free: 3.938 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.1158, allocations: 0.9581 MB / 0.4887 GB, free: 2.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.1162, allocations: 0.8469 MB / 0.4895 GB, free: 2.055 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.1163, allocations: 55.41 kB / 0.4895 GB, free: 2 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1163, allocations: 4 kB / 0.4895 GB, free: 1.996 MB / 366.1 MB Notification: Performance of Templates: time 0.00943/0.1258, allocations: 7.186 MB / 0.4966 GB, free: 10.84 MB / 382.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches