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.001344/0.001344, allocations: 105.3 kB / 16.4 MB, free: 6.457 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.001352/0.001353, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.643/1.643, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2291/0.2292, allocations: 43.52 MB / 314.1 MB, free: 444 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.001356/0.001356, allocations: 73.45 kB / 441.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.131, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003841/0.1349, allocations: 2.268 MB / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00231/0.1372, allocations: 1.462 MB / 0.4915 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.1374, allocations: 7.938 kB / 0.4915 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005574/0.138, allocations: 143.3 kB / 0.4917 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004639/0.1385, allocations: 223 kB / 0.4919 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.1399, allocations: 0.6159 MB / 0.4925 GB, free: 7.043 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007112/0.1406, allocations: 0.5337 MB / 0.493 GB, free: 6.508 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.1408, allocations: 73.05 kB / 0.4931 GB, free: 6.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002692/0.1411, allocations: 219.1 kB / 0.4933 GB, free: 6.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002499/0.1414, allocations: 215.1 kB / 0.4935 GB, free: 6.004 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.655e-05/0.1414, allocations: 28 kB / 0.4935 GB, free: 5.977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003136/0.1418, allocations: 179.8 kB / 0.4937 GB, free: 5.801 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.1419, allocations: 127.5 kB / 0.4938 GB, free: 5.676 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002007/0.1421, allocations: 194.8 kB / 0.494 GB, free: 5.484 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006654/0.1428, allocations: 0.5758 MB / 0.4946 GB, free: 4.906 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1428, allocations: 4 kB / 0.4946 GB, free: 4.902 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1428, allocations: 0 / 0.4946 GB, free: 4.902 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1429, allocations: 0 / 0.4946 GB, free: 4.902 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.001321/0.1442, allocations: 0.9018 MB / 0.4954 GB, free: 3.926 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.1442, allocations: 11.89 kB / 0.4954 GB, free: 3.914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.1443, allocations: 52.61 kB / 0.4955 GB, free: 3.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005751/0.1449, allocations: 476.5 kB / 0.496 GB, free: 3.355 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.145, allocations: 12.61 kB / 0.496 GB, free: 3.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.145, allocations: 16.12 kB / 0.496 GB, free: 3.328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004761/0.1455, allocations: 265.3 kB / 0.4962 GB, free: 3.027 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.1455, allocations: 3.984 kB / 0.4962 GB, free: 3.023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.1455, allocations: 12 kB / 0.4962 GB, free: 3.012 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.1456, allocations: 4 kB / 0.4963 GB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003058/0.1459, allocations: 111.9 kB / 0.4964 GB, free: 2.898 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009821/0.1469, allocations: 0.8718 MB / 0.4972 GB, free: 1.965 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006735/0.1476, allocations: 294.5 kB / 0.4975 GB, free: 1.641 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.1478, allocations: 107.4 kB / 0.4976 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.722e-05/0.1479, allocations: 7.984 kB / 0.4976 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003917/0.1483, allocations: 226.6 kB / 0.4978 GB, free: 1.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.703e-06/0.1483, allocations: 3.938 kB / 0.4978 GB, free: 1.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009297/0.1492, allocations: 405 kB / 0.4982 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001652/0.1494, allocations: 338.1 kB / 0.4985 GB, free: 464 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007221/0.1501, allocations: 0.6355 MB / 0.4991 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.1502, allocations: 37.69 kB / 0.4992 GB, free: 15.76 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.1504, allocations: 224.6 kB / 0.4994 GB, free: 15.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.948e-05/0.1504, allocations: 67.47 kB / 0.4995 GB, free: 15.47 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.102e-05/0.1505, allocations: 57.7 kB / 0.4995 GB, free: 15.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1507, allocations: 370.8 kB / 0.4999 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.1509, allocations: 75.95 kB / 0.4999 GB, free: 14.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003107/0.1512, allocations: 254 kB / 0.5002 GB, free: 14.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004498/0.1517, allocations: 226.8 kB / 0.5004 GB, free: 14.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.1517, allocations: 8 kB / 0.5004 GB, free: 14.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005891/0.1523, allocations: 313.1 kB / 0.5007 GB, free: 14.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1523, allocations: 4 kB / 0.5007 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1523, allocations: 0 / 0.5007 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.1524, allocations: 11.92 kB / 0.5007 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.1526, allocations: 55.91 kB / 0.5008 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.1526, allocations: 3.984 kB / 0.5008 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.1528, allocations: 32.22 kB / 0.5008 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.1529, allocations: 19.98 kB / 0.5008 GB, free: 13.96 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.000223/0.1531, allocations: 217.7 kB / 0.501 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.861e-05/0.1532, allocations: 59.66 kB / 0.5011 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.956e-05/0.1533, allocations: 55.84 kB / 0.5011 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.1533, allocations: 7.938 kB / 0.5012 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.1533, allocations: 0 / 0.5012 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.1533, allocations: 7.938 kB / 0.5012 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003646/0.1537, allocations: 413.2 kB / 0.5016 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1537, allocations: 0 / 0.5016 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.1538, allocations: 23.98 kB / 0.5016 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.1538, allocations: 0 / 0.5016 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.1539, allocations: 11.98 kB / 0.5016 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.1539, allocations: 11.88 kB / 0.5016 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1539, allocations: 0 / 0.5016 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000608/0.1545, allocations: 367 kB / 0.502 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.984e-05/0.1546, allocations: 128.7 kB / 0.5021 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.119e-05/0.1547, allocations: 12 kB / 0.5021 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.1548, allocations: 23.92 kB / 0.5021 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.527e-05/0.1549, allocations: 31.95 kB / 0.5021 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/0.1549, allocations: 20 kB / 0.5022 GB, free: 12.49 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005003/0.1555, allocations: 470.8 kB / 0.5026 GB, free: 12.03 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1555, allocations: 0 / 0.5026 GB, free: 12.03 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003911/0.1559, allocations: 91.92 kB / 0.5027 GB, free: 11.94 MB / 398.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.001167/0.157, allocations: 462.9 kB / 0.5031 GB, free: 11.53 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005707/0.1576, allocations: 227.9 kB / 0.5034 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1576, allocations: 4.062 kB / 0.5034 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003383/0.158, allocations: 167.8 kB / 0.5035 GB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006222/0.1586, allocations: 150.7 kB / 0.5037 GB, free: 11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.1597, allocations: 0.7843 MB / 0.5044 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.1601, allocations: 0.8428 MB / 0.5053 GB, free: 9.309 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002041/0.1603, allocations: 83.22 kB / 0.5053 GB, free: 9.223 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.1605, allocations: 47.42 kB / 0.5054 GB, free: 9.176 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1605, allocations: 4 kB / 0.5054 GB, free: 9.172 MB / 398.1 MB Notification: Performance of Templates: time 0.01311/0.1736, allocations: 7.593 MB / 0.5128 GB, free: 1.578 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches