Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01346/0.01346, allocations: 104.3 kB / 15.05 MB, free: 6.035 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001155/0.001154, allocations: 172.1 kB / 15.93 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.661/1.661, allocations: 170.9 MB / 187.5 MB, free: 1 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.3062/0.3062, allocations: 38.09 MB / 265.1 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004652/0.0004653, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0919/0.09241, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.005985/0.09846, allocations: 2.681 MB / 375 MB, free: 10.15 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003967/0.1025, allocations: 1.185 MB / 376.2 MB, free: 8.961 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005046/0.103, allocations: 15.94 kB / 376.2 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.1032, allocations: 47.45 kB / 376.2 MB, free: 8.898 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008741/0.1041, allocations: 155.4 kB / 376.4 MB, free: 8.746 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003335/0.1075, allocations: 0.6394 MB / 377 MB, free: 8.105 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001805/0.1093, allocations: 0.5628 MB / 377.6 MB, free: 7.543 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006525/0.11, allocations: 204.4 kB / 377.8 MB, free: 7.332 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009794/0.111, allocations: 334.7 kB / 378.1 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006085/0.1116, allocations: 250.6 kB / 378.3 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.1117, allocations: 20 kB / 378.4 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.1119, allocations: 20 kB / 378.4 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.1121, allocations: 95.52 kB / 378.5 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.1123, allocations: 125.3 kB / 378.6 MB, free: 6.496 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.1134, allocations: 0.499 MB / 379.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1134, allocations: 0 / 379.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1135, allocations: 0 / 379.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.1135, allocations: 0 / 379.1 MB, free: 5.996 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.004391/0.1179, allocations: 1.001 MB / 380.1 MB, free: 4.941 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/0.118, allocations: 12.03 kB / 380.1 MB, free: 4.93 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002065/0.1182, allocations: 78.53 kB / 380.2 MB, free: 4.844 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000275/0.1185, allocations: 79.06 kB / 380.3 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.1199, allocations: 478.5 kB / 380.7 MB, free: 4.258 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.187e-05/0.12, allocations: 40.94 kB / 380.8 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.1202, allocations: 40 kB / 380.8 MB, free: 4.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002906/0.1231, allocations: 0.6107 MB / 381.4 MB, free: 3.543 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.955e-05/0.1232, allocations: 0 / 381.4 MB, free: 3.543 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.1233, allocations: 16 kB / 381.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.1233, allocations: 12 kB / 381.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00348/0.1268, allocations: 0.5777 MB / 382 MB, free: 2.938 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01857/0.1454, allocations: 1.535 MB / 383.6 MB, free: 1.344 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01308/0.1585, allocations: 0.986 MB / 384.5 MB, free: 292 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.1587, allocations: 4.375 kB / 384.6 MB, free: 288 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.566e-05/0.1588, allocations: 50.83 kB / 384.6 MB, free: 228 kB / 282.7 MB Notification: Performance of pre-optimization done (n=48): time 4.638e-06/0.1588, allocations: 0 / 384.6 MB, free: 228 kB / 282.7 MB Notification: Performance of matching and sorting (n=50): time 0.01559/0.1744, allocations: 1.974 MB / 386.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001758/0.1747, allocations: 196.3 kB / 386.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.1758, allocations: 479.2 kB / 387.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.626e-05/0.1759, allocations: 37.7 kB / 387.3 MB, free: 13.44 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003838/0.1763, allocations: 293.3 kB / 387.6 MB, free: 13.15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00028/0.1766, allocations: 177.4 kB / 387.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.037e-05/0.1767, allocations: 4 kB / 387.7 MB, free: 12.97 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002484/0.1769, allocations: 374.8 kB / 388.1 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001848/0.1788, allocations: 300.9 kB / 388.4 MB, free: 12.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001697/0.1805, allocations: 379.3 kB / 388.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/0.1819, allocations: 314.1 kB / 389.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.1819, allocations: 3.984 kB / 389.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003086/0.185, allocations: 0.7675 MB / 389.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.1851, allocations: 8 kB / 389.9 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1851, allocations: 0 / 389.9 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1851, allocations: 0 / 389.9 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/0.1867, allocations: 203.7 kB / 390 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.1867, allocations: 0 / 390 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008635/0.1875, allocations: 91.92 kB / 390.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.29e-05/0.1876, allocations: 19.98 kB / 390.2 MB, free: 10.52 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0003475/0.188, allocations: 178.8 kB / 390.3 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.1882, allocations: 67.2 kB / 390.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002717/0.1909, allocations: 0.6942 MB / 391.1 MB, free: 9.559 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.1909, allocations: 4 kB / 391.1 MB, free: 9.555 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1909, allocations: 0 / 391.1 MB, free: 9.555 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.1909, allocations: 0 / 391.1 MB, free: 9.555 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004322/0.1953, allocations: 1.442 MB / 392.5 MB, free: 8.043 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.1953, allocations: 0 / 392.5 MB, free: 8.043 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/0.1967, allocations: 167.9 kB / 392.7 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.1967, allocations: 0 / 392.7 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.35e-05/0.1968, allocations: 19.98 kB / 392.7 MB, free: 7.859 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.1968, allocations: 0 / 392.7 MB, free: 7.859 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/0.1969, allocations: 7.938 kB / 392.7 MB, free: 7.852 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004708/0.2016, allocations: 1.343 MB / 394.1 MB, free: 6.465 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003303/0.2019, allocations: 180.3 kB / 394.2 MB, free: 6.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.2021, allocations: 15.95 kB / 394.3 MB, free: 6.254 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000984/0.2031, allocations: 91.92 kB / 394.4 MB, free: 6.164 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.2033, allocations: 43.69 kB / 394.4 MB, free: 6.121 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.32e-05/0.2033, allocations: 19.98 kB / 394.4 MB, free: 6.102 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005661/0.2039, allocations: 334.8 kB / 394.7 MB, free: 5.777 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.106e-06/0.2039, allocations: 3.938 kB / 394.7 MB, free: 5.773 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006321/0.2046, allocations: 99.94 kB / 394.8 MB, free: 5.676 MB / 298.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.005172/0.2097, allocations: 2.102 MB / 396.9 MB, free: 3.527 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003089/0.2129, allocations: 0.6891 MB / 397.6 MB, free: 2.844 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.2129, allocations: 4 kB / 397.6 MB, free: 2.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00162/0.2146, allocations: 383.8 kB / 398 MB, free: 2.465 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.2158, allocations: 120.7 kB / 398.1 MB, free: 2.352 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01341/0.2292, allocations: 4.336 MB / 402.5 MB, free: 13.94 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005986/0.2298, allocations: 0.9019 MB / 403.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005579/0.2304, allocations: 72.53 kB / 403.4 MB, free: 12.94 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005863/0.231, allocations: 231.3 kB / 403.7 MB, free: 12.71 MB / 314.7 MB Notification: Performance of SimCode: time 1.253e-06/0.231, allocations: 4 kB / 403.7 MB, free: 12.71 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04505/0.2761, allocations: 11.35 MB / 415 MB, free: 1.492 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003468/0.2765, allocations: 169.2 kB / 415.2 MB, free: 1.25 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.862/3.138, allocations: 0 / 415.2 MB, free: 1.25 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat