Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001673/0.001678, allocations: 182.4 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.75/2.75, allocations: 205.4 MB / 222.5 MB, free: 9.102 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001238/0.001238, allocations: 93.48 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5532/0.5532, allocations: 43.56 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004732/0.0004733, allocations: 12 kB / 431.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1554, allocations: 58.85 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004648/0.1601, allocations: 1.873 MB / 492.2 MB, free: 9.258 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004456/0.1647, allocations: 1.296 MB / 493.5 MB, free: 7.953 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003547/0.1651, allocations: 8 kB / 493.5 MB, free: 7.945 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000663/0.1658, allocations: 107.5 kB / 493.6 MB, free: 7.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000941/0.1667, allocations: 187.5 kB / 493.8 MB, free: 7.656 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002952/0.1697, allocations: 0.5302 MB / 494.3 MB, free: 7.125 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009918/0.1707, allocations: 319.3 kB / 494.6 MB, free: 6.812 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002545/0.171, allocations: 73.17 kB / 494.7 MB, free: 6.738 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004853/0.1715, allocations: 191.1 kB / 494.9 MB, free: 6.551 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003618/0.1719, allocations: 175.2 kB / 495 MB, free: 6.379 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.115e-05/0.172, allocations: 8 kB / 495 MB, free: 6.371 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004539/0.1724, allocations: 103.9 kB / 495.2 MB, free: 6.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002187/0.1727, allocations: 111.6 kB / 495.3 MB, free: 6.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.1729, allocations: 97.45 kB / 495.4 MB, free: 6.059 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008691/0.1738, allocations: 427.3 kB / 495.8 MB, free: 5.641 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1738, allocations: 0 / 495.8 MB, free: 5.641 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.1738, allocations: 0 / 495.8 MB, free: 5.641 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.1738, allocations: 0 / 495.8 MB, free: 5.641 MB / 378.7 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.001926/0.1758, allocations: 0.8087 MB / 496.6 MB, free: 4.754 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/0.1758, allocations: 11.97 kB / 496.6 MB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000113/0.176, allocations: 46.55 kB / 496.6 MB, free: 4.688 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/0.1761, allocations: 51.34 kB / 496.7 MB, free: 4.637 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.1772, allocations: 447.3 kB / 497.1 MB, free: 4.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/0.1773, allocations: 12.23 kB / 497.1 MB, free: 4.148 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.1773, allocations: 12 kB / 497.1 MB, free: 4.137 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007576/0.1781, allocations: 253.4 kB / 497.4 MB, free: 3.848 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.1781, allocations: 7.953 kB / 497.4 MB, free: 3.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.268e-05/0.1782, allocations: 8 kB / 497.4 MB, free: 3.832 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1782, allocations: 0 / 497.4 MB, free: 3.832 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005667/0.1788, allocations: 111.9 kB / 497.5 MB, free: 3.723 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.1806, allocations: 0.8757 MB / 498.4 MB, free: 2.785 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.1818, allocations: 298.9 kB / 498.7 MB, free: 2.457 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.466e-05/0.1819, allocations: 7.938 kB / 498.7 MB, free: 2.449 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007473/0.1827, allocations: 222.9 kB / 498.9 MB, free: 2.207 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 3.507e-06/0.1827, allocations: 0 / 498.9 MB, free: 2.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.001703/0.1844, allocations: 389.7 kB / 499.3 MB, free: 1.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002272/0.1847, allocations: 350.1 kB / 499.6 MB, free: 1.398 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.186, allocations: 0.6315 MB / 0.4885 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.83e-05/0.1861, allocations: 33.7 kB / 0.4886 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002993/0.1864, allocations: 247 kB / 0.4888 GB, free: 484 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.1866, allocations: 63.2 kB / 0.4889 GB, free: 420 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-05/0.1866, allocations: 4 kB / 0.4889 GB, free: 416 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1868, allocations: 326.8 kB / 0.4892 GB, free: 80 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3233/0.5101, allocations: 80.53 kB / 0.4893 GB, free: 42.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006598/0.5108, allocations: 240.1 kB / 0.4895 GB, free: 42.74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004414/0.5113, allocations: 108.2 kB / 0.4896 GB, free: 42.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.5113, allocations: 0 / 0.4896 GB, free: 42.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009914/0.5123, allocations: 276.4 kB / 0.4899 GB, free: 42.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.5124, allocations: 5.531 kB / 0.4899 GB, free: 42.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.5124, allocations: 2.156 kB / 0.4899 GB, free: 42.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.728e-05/0.5124, allocations: 7.859 kB / 0.4899 GB, free: 42.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004759/0.5129, allocations: 55.27 kB / 0.4899 GB, free: 42.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.5129, allocations: 4 kB / 0.4899 GB, free: 42.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004226/0.5134, allocations: 29.14 kB / 0.49 GB, free: 42.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/0.5134, allocations: 13.16 kB / 0.49 GB, free: 42.71 MB / 378.7 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 ($whenCondition4,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,$PRE.integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,$PRE.integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003998/0.5138, allocations: 222.7 kB / 0.4902 GB, free: 42.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.514, allocations: 52.47 kB / 0.4902 GB, free: 42.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.5141, allocations: 53.11 kB / 0.4903 GB, free: 42.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.5141, allocations: 3.812 kB / 0.4903 GB, free: 42.58 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.5142, allocations: 6.953 kB / 0.4903 GB, free: 42.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.5142, allocations: 2.391 kB / 0.4903 GB, free: 42.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006463/0.5148, allocations: 415.9 kB / 0.4907 GB, free: 42.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.5149, allocations: 1 kB / 0.4907 GB, free: 42.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.5151, allocations: 23.81 kB / 0.4907 GB, free: 42.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.5151, allocations: 5.375 kB / 0.4907 GB, free: 42.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/0.5152, allocations: 11.39 kB / 0.4907 GB, free: 42.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.5152, allocations: 5.531 kB / 0.4907 GB, free: 42.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.5152, allocations: 0 / 0.4907 GB, free: 42.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.5164, allocations: 394 kB / 0.4911 GB, free: 42.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/0.5166, allocations: 142.6 kB / 0.4912 GB, free: 42.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.5167, allocations: 15.39 kB / 0.4913 GB, free: 42.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003199/0.517, allocations: 17.78 kB / 0.4913 GB, free: 42.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/0.5172, allocations: 36.47 kB / 0.4913 GB, free: 42.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-05/0.5173, allocations: 20.14 kB / 0.4913 GB, free: 42.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009897/0.5183, allocations: 461.2 kB / 0.4918 GB, free: 42.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5183, allocations: 0 / 0.4918 GB, free: 42.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007525/0.5191, allocations: 98.34 kB / 0.4919 GB, free: 42.05 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002781/0.5219, allocations: 1.5 MB / 0.4933 GB, free: 41.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.523, allocations: 230.9 kB / 0.4936 GB, free: 41.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.523, allocations: 1.281 kB / 0.4936 GB, free: 41.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005107/0.5236, allocations: 124.7 kB / 0.4937 GB, free: 41.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.5247, allocations: 124.7 kB / 0.4938 GB, free: 41.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006983/0.5317, allocations: 3.737 MB / 0.4974 GB, free: 39.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004775/0.5322, allocations: 0.8526 MB / 0.4983 GB, free: 38.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004353/0.5326, allocations: 161.2 kB / 0.4984 GB, free: 38.36 MB / 378.7 MB Notification: Performance of SimCode: time 1.222e-06/0.5327, allocations: 0 / 0.4984 GB, free: 38.36 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.889/3.422, allocations: 9.117 MB / 0.5073 GB, free: 37.43 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_IntegerTable_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_IntegerTable.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable_res.mat does not exist to compare? outputFormat=mat