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: translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 100.4 kB / 16.94 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001077, allocations: 191.6 kB / 17.86 MB, free: 5.289 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.43/1.43, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1973/0.1973, allocations: 43.53 MB / 314.6 MB, free: 0.5234 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.001498/0.001498, allocations: 69.36 kB / 383.4 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08888/0.0904, allocations: 57.79 MB / 441.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003188/0.09362, allocations: 2.269 MB / 443.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.09557, allocations: 1.458 MB / 444.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.09576, allocations: 7.938 kB / 444.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004017/0.09617, allocations: 143.3 kB / 445.1 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003814/0.0966, allocations: 223 kB / 445.3 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.09791, allocations: 0.614 MB / 445.9 MB, free: 2.188 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000408/0.09833, allocations: 0.522 MB / 446.4 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.09849, allocations: 81.28 kB / 446.5 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.09869, allocations: 219.1 kB / 446.7 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.09888, allocations: 215 kB / 446.9 MB, free: 1.152 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.109e-05/0.09893, allocations: 28 kB / 446.9 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002423/0.09918, allocations: 151.8 kB / 447.1 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.09932, allocations: 131.6 kB / 447.2 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.09946, allocations: 194.7 kB / 447.4 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004128/0.09988, allocations: 0.5646 MB / 448 MB, free: 92 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.09989, allocations: 8 kB / 448 MB, free: 84 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.0999, allocations: 0 / 448 MB, free: 84 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.09991, allocations: 0 / 448 MB, free: 84 kB / 318.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.001137/0.1011, allocations: 0.8825 MB / 448.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.1011, allocations: 15.83 kB / 448.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.1012, allocations: 52.36 kB / 448.9 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005321/0.1018, allocations: 460.1 kB / 449.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.1018, allocations: 20.59 kB / 449.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.1018, allocations: 20.12 kB / 449.4 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004564/0.1023, allocations: 262.7 kB / 449.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1023, allocations: 0 / 449.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.1024, allocations: 4 kB / 449.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1024, allocations: 4 kB / 449.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003047/0.1027, allocations: 115.8 kB / 449.8 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.1037, allocations: 0.8718 MB / 450.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006416/0.1044, allocations: 294.5 kB / 451 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.1046, allocations: 111.4 kB / 451.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.1047, allocations: 4 kB / 451.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004571/0.1051, allocations: 230.7 kB / 451.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.774e-06/0.1052, allocations: 0 / 451.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009435/0.1061, allocations: 396.8 kB / 451.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001627/0.1063, allocations: 342.1 kB / 452 MB, free: 11.67 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006839/0.107, allocations: 0.6316 MB / 452.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.107, allocations: 33.7 kB / 452.7 MB, free: 10.99 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.1072, allocations: 228.5 kB / 452.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.205e-05/0.1073, allocations: 63.2 kB / 453 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.1074, allocations: 61.69 kB / 453 MB, free: 10.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1075, allocations: 362.8 kB / 453.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.1077, allocations: 83.94 kB / 453.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/0.1081, allocations: 252.9 kB / 453.7 MB, free: 9.883 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004567/0.1085, allocations: 235.7 kB / 453.9 MB, free: 9.629 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1085, allocations: 0 / 453.9 MB, free: 9.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006378/0.1092, allocations: 312.8 kB / 454.2 MB, free: 9.316 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1092, allocations: 4 kB / 454.2 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.1092, allocations: 7.984 kB / 454.3 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1093, allocations: 3.938 kB / 454.3 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.1095, allocations: 59.91 kB / 454.3 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.1095, allocations: 3.938 kB / 454.3 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.1097, allocations: 31.77 kB / 454.4 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.1098, allocations: 16 kB / 454.4 MB, free: 9.191 MB / 334.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.000238/0.11, allocations: 222 kB / 454.6 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-05/0.1101, allocations: 59.34 kB / 454.6 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.1102, allocations: 55.91 kB / 454.7 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/0.1102, allocations: 7.938 kB / 454.7 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1103, allocations: 0 / 454.7 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1103, allocations: 4 kB / 454.7 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003894/0.1107, allocations: 413.2 kB / 455.1 MB, free: 8.383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1107, allocations: 0 / 455.1 MB, free: 8.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.1108, allocations: 23.98 kB / 455.1 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1108, allocations: 4 kB / 455.1 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.1108, allocations: 11.98 kB / 455.2 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.1109, allocations: 7.938 kB / 455.2 MB, free: 8.336 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1109, allocations: 3.938 kB / 455.2 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006408/0.1115, allocations: 358.7 kB / 455.5 MB, free: 7.953 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.1116, allocations: 128.5 kB / 455.6 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.765e-05/0.1117, allocations: 12 kB / 455.6 MB, free: 7.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.1119, allocations: 19.92 kB / 455.7 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.036e-05/0.112, allocations: 35.95 kB / 455.7 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-05/0.112, allocations: 23.97 kB / 455.7 MB, free: 7.719 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005017/0.1125, allocations: 462.8 kB / 456.2 MB, free: 7.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1125, allocations: 3.938 kB / 456.2 MB, free: 7.266 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004269/0.113, allocations: 99.98 kB / 456.3 MB, free: 7.168 MB / 334.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.001045/0.114, allocations: 457.5 kB / 456.7 MB, free: 6.781 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005799/0.1146, allocations: 235.5 kB / 457 MB, free: 6.551 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.1146, allocations: 4 kB / 457 MB, free: 6.547 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002727/0.1149, allocations: 128.8 kB / 457.1 MB, free: 6.422 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006767/0.1156, allocations: 143.2 kB / 457.2 MB, free: 6.285 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.1168, allocations: 0.8182 MB / 458 MB, free: 5.422 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.1172, allocations: 0.8428 MB / 458.9 MB, free: 4.555 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.1173, allocations: 51.42 kB / 458.9 MB, free: 4.504 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1173, allocations: 0 / 458.9 MB, free: 4.504 MB / 334.1 MB Notification: Performance of Templates: time 0.009717/0.1271, allocations: 7.037 MB / 466 MB, free: 13.47 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches