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.001236/0.001236, allocations: 108.1 kB / 16.41 MB, free: 6.496 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.001209/0.001209, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.401/1.401, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2143/0.2143, allocations: 43.52 MB / 314.1 MB, free: 464 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.002193/0.002193, allocations: 77.44 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1142, allocations: 57.78 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004204/0.1184, allocations: 2.275 MB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002693/0.1211, allocations: 1.47 MB / 0.491 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002633/0.1214, allocations: 0 / 0.491 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004955/0.1219, allocations: 151.2 kB / 0.4912 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005384/0.1225, allocations: 219 kB / 0.4914 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.1241, allocations: 0.612 MB / 0.492 GB, free: 7.574 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006172/0.1247, allocations: 0.5259 MB / 0.4925 GB, free: 7.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.1249, allocations: 77.03 kB / 0.4926 GB, free: 6.965 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002777/0.1252, allocations: 227.1 kB / 0.4928 GB, free: 6.742 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000265/0.1255, allocations: 223 kB / 0.493 GB, free: 6.523 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.364e-05/0.1255, allocations: 24 kB / 0.493 GB, free: 6.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003276/0.1259, allocations: 171.8 kB / 0.4932 GB, free: 6.332 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.126, allocations: 127.5 kB / 0.4933 GB, free: 6.207 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.1263, allocations: 198.7 kB / 0.4935 GB, free: 6.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006891/0.127, allocations: 0.5719 MB / 0.4941 GB, free: 5.438 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.127, allocations: 0 / 0.4941 GB, free: 5.438 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.127, allocations: 0 / 0.4941 GB, free: 5.438 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.127, allocations: 4 kB / 0.4941 GB, free: 5.434 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.001337/0.1284, allocations: 0.9017 MB / 0.495 GB, free: 4.457 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.1284, allocations: 15.89 kB / 0.495 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.727e-05/0.1285, allocations: 46.73 kB / 0.495 GB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.1286, allocations: 52.61 kB / 0.4951 GB, free: 4.336 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007082/0.1293, allocations: 472.6 kB / 0.4955 GB, free: 3.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.1293, allocations: 20.59 kB / 0.4955 GB, free: 3.812 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.1294, allocations: 15.94 kB / 0.4955 GB, free: 3.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004849/0.1299, allocations: 265.3 kB / 0.4958 GB, free: 3.496 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1299, allocations: 0 / 0.4958 GB, free: 3.496 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.1299, allocations: 11.94 kB / 0.4958 GB, free: 3.484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.1299, allocations: 4 kB / 0.4958 GB, free: 3.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003165/0.1303, allocations: 107.9 kB / 0.4959 GB, free: 3.375 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.1314, allocations: 0.8718 MB / 0.4968 GB, free: 2.441 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007136/0.1321, allocations: 290.6 kB / 0.497 GB, free: 2.121 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/0.1324, allocations: 115.3 kB / 0.4972 GB, free: 1.996 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.1324, allocations: 12.16 kB / 0.4972 GB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004346/0.1329, allocations: 222.5 kB / 0.4974 GB, free: 1.742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.573e-06/0.1329, allocations: 0 / 0.4974 GB, free: 1.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001004/0.1339, allocations: 409 kB / 0.4978 GB, free: 1.336 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002129/0.1341, allocations: 342.1 kB / 0.4981 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007897/0.1349, allocations: 0.6355 MB / 0.4987 GB, free: 280 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.616e-05/0.135, allocations: 33.7 kB / 0.4987 GB, free: 240 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.1352, allocations: 224.6 kB / 0.499 GB, free: 12 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.949e-05/0.1353, allocations: 71.47 kB / 0.499 GB, free: 15.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.1354, allocations: 65.69 kB / 0.4991 GB, free: 15.87 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.1356, allocations: 362.8 kB / 0.4994 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.1358, allocations: 79.95 kB / 0.4995 GB, free: 15.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/0.1362, allocations: 245 kB / 0.4998 GB, free: 15.13 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004714/0.1367, allocations: 223.8 kB / 0.5 GB, free: 14.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.1367, allocations: 8 kB / 0.5 GB, free: 14.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006482/0.1373, allocations: 309.1 kB / 0.5003 GB, free: 14.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.1374, allocations: 8.125 kB / 0.5003 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.1374, allocations: 7.984 kB / 0.5003 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.1374, allocations: 7.938 kB / 0.5003 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.1377, allocations: 59.91 kB / 0.5003 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1377, allocations: 0 / 0.5003 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.1379, allocations: 31.83 kB / 0.5004 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.138, allocations: 19.94 kB / 0.5004 GB, free: 14.44 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.0002845/0.1383, allocations: 217.7 kB / 0.5006 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.1384, allocations: 63.67 kB / 0.5007 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.1385, allocations: 55.84 kB / 0.5007 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.1385, allocations: 4 kB / 0.5007 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.1385, allocations: 256 / 0.5007 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.1385, allocations: 4 kB / 0.5007 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004688/0.139, allocations: 417.2 kB / 0.5011 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.139, allocations: 0 / 0.5011 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.1391, allocations: 23.98 kB / 0.5011 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1391, allocations: 0 / 0.5011 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.1392, allocations: 11.92 kB / 0.5012 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.1392, allocations: 4 kB / 0.5012 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1392, allocations: 4 kB / 0.5012 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000723/0.1399, allocations: 366.9 kB / 0.5015 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.1401, allocations: 132.7 kB / 0.5016 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.938e-05/0.1401, allocations: 11.94 kB / 0.5017 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.1403, allocations: 23.98 kB / 0.5017 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.1404, allocations: 35.95 kB / 0.5017 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.842e-05/0.1405, allocations: 15.98 kB / 0.5017 GB, free: 12.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005574/0.1411, allocations: 462.8 kB / 0.5022 GB, free: 12.51 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1411, allocations: 0 / 0.5022 GB, free: 12.51 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004003/0.1415, allocations: 95.92 kB / 0.5023 GB, free: 12.42 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.002581/0.1441, allocations: 1.268 MB / 0.5035 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006039/0.1447, allocations: 232.1 kB / 0.5037 GB, free: 10.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/0.1447, allocations: 4 kB / 0.5037 GB, free: 10.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003437/0.145, allocations: 164.7 kB / 0.5039 GB, free: 10.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007022/0.1458, allocations: 142.1 kB / 0.504 GB, free: 10.63 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005894/0.1517, allocations: 4.179 MB / 0.5081 GB, free: 6.297 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005042/0.1522, allocations: 0.8428 MB / 0.5089 GB, free: 5.426 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002573/0.1525, allocations: 87.19 kB / 0.509 GB, free: 5.344 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/0.1527, allocations: 167.4 kB / 0.5092 GB, free: 5.18 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1527, allocations: 0 / 0.5092 GB, free: 5.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03944/0.1922, allocations: 12.47 MB / 0.5213 GB, free: 8.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.397/8.59, allocations: 0 / 0.5213 GB, free: 8.68 MB / 414.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","/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