Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.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.StrictLimiters,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_StrictLimiters",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.001676/0.001676, allocations: 188.8 kB / 16.4 MB, free: 5.625 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.236/2.236, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001194/0.001194, allocations: 98.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3075/0.3075, allocations: 43.57 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004926/0.0004929, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1295, allocations: 58.85 MB / 490.3 MB, free: 9.258 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.005623/0.1352, allocations: 2.989 MB / 493.3 MB, free: 6.246 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004254/0.1395, allocations: 1.334 MB / 494.6 MB, free: 4.902 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008876/0.1404, allocations: 27.81 kB / 494.7 MB, free: 4.875 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.1407, allocations: 55.38 kB / 494.7 MB, free: 4.82 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.1419, allocations: 163.4 kB / 494.9 MB, free: 4.66 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002179/0.1441, allocations: 475.1 kB / 495.3 MB, free: 4.195 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001944/0.1461, allocations: 0.5863 MB / 495.9 MB, free: 3.605 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006773/0.1468, allocations: 224.5 kB / 496.1 MB, free: 3.375 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009002/0.1477, allocations: 294.7 kB / 496.4 MB, free: 3.086 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006067/0.1484, allocations: 286.3 kB / 496.7 MB, free: 2.805 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001746/0.1486, allocations: 20 kB / 496.7 MB, free: 2.785 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.1487, allocations: 24 kB / 496.8 MB, free: 2.762 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.1489, allocations: 111.4 kB / 496.9 MB, free: 2.652 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001946/0.1491, allocations: 137.3 kB / 497 MB, free: 2.512 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009842/0.1501, allocations: 0.5691 MB / 497.6 MB, free: 1.941 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1501, allocations: 0 / 497.6 MB, free: 1.941 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1502, allocations: 0 / 497.6 MB, free: 1.941 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.335e-05/0.1502, allocations: 4 kB / 497.6 MB, free: 1.938 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00381/0.154, allocations: 1.133 MB / 498.7 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.1541, allocations: 8.031 kB / 498.7 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002743/0.1544, allocations: 86.52 kB / 498.8 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002761/0.1547, allocations: 98.83 kB / 498.9 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.1562, allocations: 0.5458 MB / 499.4 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.582e-05/0.1564, allocations: 45 kB / 499.5 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.1565, allocations: 52 kB / 499.5 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00289/0.1594, allocations: 0.7462 MB / 0.4886 GB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.473e-05/0.1595, allocations: 0 / 0.4886 GB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-05/0.1596, allocations: 24 kB / 0.4886 GB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.1597, allocations: 12 kB / 0.4886 GB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003112/0.1628, allocations: 0.644 MB / 0.4892 GB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006476/0.1693, allocations: 2.333 MB / 0.4915 GB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003684/0.1731, allocations: 0.8308 MB / 0.4923 GB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.596e-05/0.1732, allocations: 8.438 kB / 0.4923 GB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.662e-05/0.1733, allocations: 42.89 kB / 0.4924 GB, free: 11.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=48): time 3.406e-06/0.1733, allocations: 4 kB / 0.4924 GB, free: 11.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=50): time 0.009761/0.1831, allocations: 2.16 MB / 0.4945 GB, free: 8.828 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001507/0.1833, allocations: 192.3 kB / 0.4947 GB, free: 8.598 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.1844, allocations: 0.5747 MB / 0.4952 GB, free: 8.016 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001743/0.1846, allocations: 37.7 kB / 0.4953 GB, free: 7.973 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003702/0.185, allocations: 371.3 kB / 0.4956 GB, free: 7.609 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002964/0.1853, allocations: 181.4 kB / 0.4958 GB, free: 7.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.05e-05/0.1854, allocations: 8 kB / 0.4958 GB, free: 7.422 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.1856, allocations: 338.8 kB / 0.4961 GB, free: 7.082 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001823/0.1874, allocations: 340.9 kB / 0.4964 GB, free: 6.746 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002022/0.1895, allocations: 465.9 kB / 0.4969 GB, free: 6.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/0.1914, allocations: 346 kB / 0.4972 GB, free: 5.914 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.1915, allocations: 0 / 0.4972 GB, free: 5.914 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.006161/0.1977, allocations: 0.8498 MB / 0.498 GB, free: 5.055 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006809/0.1984, allocations: 0.8741 MB / 0.4989 GB, free: 4.117 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.047e-05/0.1985, allocations: 4 kB / 0.4989 GB, free: 4.113 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.594e-05/0.1985, allocations: 7.953 kB / 0.4989 GB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00263/0.2012, allocations: 219.7 kB / 0.4991 GB, free: 3.891 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.431e-05/0.2013, allocations: 4 kB / 0.4991 GB, free: 3.887 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.2029, allocations: 107.9 kB / 0.4992 GB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002403/0.2032, allocations: 23.98 kB / 0.4992 GB, free: 3.758 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.2033, allocations: 4 kB / 0.4992 GB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003835/0.2071, allocations: 0.6142 MB / 0.4998 GB, free: 3.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.2072, allocations: 4 kB / 0.4998 GB, free: 3.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.2072, allocations: 4 kB / 0.4999 GB, free: 3.133 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001968/0.2092, allocations: 180 kB / 0.5 GB, free: 2.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-05/0.2093, allocations: 8 kB / 0.5 GB, free: 2.949 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.2103, allocations: 67.95 kB / 0.5001 GB, free: 2.883 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.2105, allocations: 16 kB / 0.5001 GB, free: 2.867 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.000915/0.2115, allocations: 276.9 kB / 0.5004 GB, free: 2.586 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004368/0.2119, allocations: 79 kB / 0.5005 GB, free: 2.508 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004075/0.2124, allocations: 83.53 kB / 0.5005 GB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/0.2124, allocations: 12 kB / 0.5005 GB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.2124, allocations: 3.938 kB / 0.5005 GB, free: 2.406 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/0.2125, allocations: 3.984 kB / 0.5006 GB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008186/0.2207, allocations: 1.552 MB / 0.5021 GB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.2207, allocations: 0 / 0.5021 GB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002038/0.2228, allocations: 175.9 kB / 0.5022 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.449e-05/0.2229, allocations: 8 kB / 0.5022 GB, free: 0.6094 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001371/0.223, allocations: 11.98 kB / 0.5023 GB, free: 0.5977 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.906e-05/0.2231, allocations: 11.95 kB / 0.5023 GB, free: 0.5859 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.2231, allocations: 0 / 0.5023 GB, free: 0.5859 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007917/0.231, allocations: 1.449 MB / 0.5037 GB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007053/0.2318, allocations: 188.1 kB / 0.5039 GB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002678/0.2321, allocations: 12 kB / 0.5039 GB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001873/0.234, allocations: 103.9 kB / 0.504 GB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003132/0.2344, allocations: 43.69 kB / 0.504 GB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/0.2346, allocations: 23.98 kB / 0.504 GB, free: 14.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001258/0.2358, allocations: 399.1 kB / 0.5044 GB, free: 14.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.193e-06/0.2359, allocations: 0 / 0.5044 GB, free: 14.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002167/0.2381, allocations: 184 kB / 0.5046 GB, free: 14.14 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 50 * 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 Backend phase and start with SimCode phase: time 0.0095/0.2476, allocations: 2.192 MB / 0.5067 GB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005434/0.2532, allocations: 1.099 MB / 0.5078 GB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/0.2532, allocations: 4 kB / 0.5078 GB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001966/0.2552, allocations: 407.7 kB / 0.5082 GB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001766/0.257, allocations: 175.1 kB / 0.5084 GB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01796/0.275, allocations: 6.234 MB / 0.5145 GB, free: 3.883 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007188/0.2758, allocations: 0.9416 MB / 0.5154 GB, free: 2.914 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008589/0.2767, allocations: 283.3 kB / 0.5156 GB, free: 2.637 MB / 362.7 MB Notification: Performance of SimCode: time 1.583e-06/0.2768, allocations: 0 / 0.5156 GB, free: 2.637 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.175/3.451, allocations: 11.69 MB / 0.5271 GB, free: 42.57 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_StrictLimiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_StrictLimiters.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat