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.001171/0.001171, allocations: 108.8 kB / 17.09 MB, free: 5.992 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.001147/0.001148, allocations: 191.5 kB / 18.02 MB, free: 5.07 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.602/1.602, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.2387/0.2387, allocations: 43.52 MB / 314.8 MB, free: 460 kB / 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.001561/0.001561, allocations: 70.03 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1252, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004671/0.1299, allocations: 2.267 MB / 0.4908 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003103/0.133, allocations: 1.454 MB / 0.4922 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003261/0.1334, allocations: 7.938 kB / 0.4922 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005963/0.134, allocations: 143.3 kB / 0.4923 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007374/0.1348, allocations: 231 kB / 0.4925 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001768/0.1366, allocations: 0.612 MB / 0.4931 GB, free: 7.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008221/0.1374, allocations: 0.5259 MB / 0.4936 GB, free: 6.539 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002164/0.1376, allocations: 92.94 kB / 0.4937 GB, free: 6.441 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004189/0.1381, allocations: 227.1 kB / 0.494 GB, free: 6.219 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003916/0.1385, allocations: 215.1 kB / 0.4942 GB, free: 6.008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.699e-05/0.1386, allocations: 24 kB / 0.4942 GB, free: 5.984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004108/0.139, allocations: 175.8 kB / 0.4943 GB, free: 5.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.1392, allocations: 131.5 kB / 0.4945 GB, free: 5.684 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002409/0.1394, allocations: 194.7 kB / 0.4947 GB, free: 5.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008276/0.1402, allocations: 0.5685 MB / 0.4952 GB, free: 4.922 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1403, allocations: 0 / 0.4952 GB, free: 4.922 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.1403, allocations: 0 / 0.4952 GB, free: 4.922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.984e-05/0.1403, allocations: 3.938 kB / 0.4952 GB, free: 4.918 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.001527/0.1418, allocations: 0.8937 MB / 0.4961 GB, free: 3.953 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.1419, allocations: 15.89 kB / 0.4961 GB, free: 3.938 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.142, allocations: 52.38 kB / 0.4962 GB, free: 3.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006944/0.1427, allocations: 464 kB / 0.4966 GB, free: 3.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.1428, allocations: 12.61 kB / 0.4966 GB, free: 3.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.1428, allocations: 20.06 kB / 0.4966 GB, free: 3.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004872/0.1433, allocations: 265.3 kB / 0.4969 GB, free: 3.059 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1433, allocations: 0 / 0.4969 GB, free: 3.059 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.819e-05/0.1433, allocations: 8 kB / 0.4969 GB, free: 3.051 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1434, allocations: 4 kB / 0.4969 GB, free: 3.047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.1437, allocations: 115.8 kB / 0.497 GB, free: 2.934 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.1449, allocations: 0.864 MB / 0.4979 GB, free: 2.008 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000664/0.1456, allocations: 298.5 kB / 0.4981 GB, free: 1.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/0.1458, allocations: 115.4 kB / 0.4982 GB, free: 1.555 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.198e-05/0.1459, allocations: 16.08 kB / 0.4983 GB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004176/0.1463, allocations: 222.4 kB / 0.4985 GB, free: 1.297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 2.144e-06/0.1463, allocations: 0 / 0.4985 GB, free: 1.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009829/0.1473, allocations: 400.8 kB / 0.4989 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001702/0.1475, allocations: 338.1 kB / 0.4992 GB, free: 500 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000792/0.1483, allocations: 0.6316 MB / 0.4998 GB, free: 15.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.1483, allocations: 37.69 kB / 0.4998 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.1485, allocations: 224.6 kB / 0.5 GB, free: 15.58 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.945e-05/0.1486, allocations: 63.19 kB / 0.5001 GB, free: 15.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.1487, allocations: 65.69 kB / 0.5002 GB, free: 15.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.1489, allocations: 362.8 kB / 0.5005 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.1491, allocations: 83.95 kB / 0.5006 GB, free: 15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003442/0.1495, allocations: 241 kB / 0.5008 GB, free: 14.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004614/0.15, allocations: 235.8 kB / 0.501 GB, free: 14.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.15, allocations: 0 / 0.501 GB, free: 14.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006486/0.1506, allocations: 316.8 kB / 0.5013 GB, free: 14.13 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.1507, allocations: 4 kB / 0.5014 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.1507, allocations: 4 kB / 0.5014 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.1507, allocations: 0 / 0.5014 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/0.151, allocations: 59.84 kB / 0.5014 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.677e-05/0.151, allocations: 7.984 kB / 0.5014 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.1513, allocations: 35.95 kB / 0.5015 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.1513, allocations: 11.94 kB / 0.5015 GB, free: 14.01 MB / 398.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.0002505/0.1516, allocations: 229.8 kB / 0.5017 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.268e-05/0.1516, allocations: 55.34 kB / 0.5017 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.1518, allocations: 51.91 kB / 0.5018 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.1518, allocations: 7.938 kB / 0.5018 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1518, allocations: 0 / 0.5018 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.1519, allocations: 124.5 kB / 0.5019 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.512e-05/0.152, allocations: 12 kB / 0.5019 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.1522, allocations: 19.98 kB / 0.5019 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.901e-05/0.1523, allocations: 39.89 kB / 0.502 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008139/0.1531, allocations: 0.5923 MB / 0.5026 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008282/0.154, allocations: 0.7223 MB / 0.5033 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003262/0.1543, allocations: 172.1 kB / 0.5034 GB, free: 11.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005103/0.1548, allocations: 462.8 kB / 0.5039 GB, free: 11.48 MB / 398.1 MB Notification: Performance of Backend: time 1.913e-06/0.1548, allocations: 4 kB / 0.5039 GB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00205/0.1569, allocations: 0.6047 MB / 0.5045 GB, free: 10.92 MB / 398.1 MB Notification: Performance of SimCode: time 0.001732/0.1586, allocations: 1.247 MB / 0.5057 GB, free: 9.625 MB / 398.1 MB Notification: Performance of Templates: time 0.01611/0.1748, allocations: 8.487 MB / 0.514 GB, free: 1.137 MB / 398.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