Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01004/0.01005, allocations: 176.3 kB / 15.13 MB, free: 6.023 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.178/2.178, allocations: 194.5 MB / 210.3 MB, free: 7.602 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002796/0.002796, allocations: 116 kB / 255.6 MB, free: 10.22 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2641/0.2641, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004905/0.0004907, allocations: 11 kB / 406.3 MB, free: 51.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1035, allocations: 54.87 MB / 461.1 MB, free: 3.188 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.001876/0.1054, allocations: 1.321 MB / 462.5 MB, free: 1.844 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.1066, allocations: 0.5509 MB / 463 MB, free: 1.289 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.813e-05/0.1067, allocations: 4 kB / 463 MB, free: 1.285 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.175e-05/0.1068, allocations: 3.938 kB / 463 MB, free: 1.281 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.1069, allocations: 15.86 kB / 463 MB, free: 1.266 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004599/0.1074, allocations: 95.62 kB / 463.1 MB, free: 1.176 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.1076, allocations: 119.6 kB / 463.3 MB, free: 1.059 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.1077, allocations: 29.06 kB / 463.3 MB, free: 1.031 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.1078, allocations: 55.81 kB / 463.3 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.108, allocations: 51.77 kB / 463.4 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.49e-05/0.108, allocations: 4 kB / 463.4 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.852e-05/0.1081, allocations: 8 kB / 463.4 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.503e-05/0.1081, allocations: 27.89 kB / 463.4 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.315e-05/0.1082, allocations: 41.64 kB / 463.5 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.1083, allocations: 75.83 kB / 463.5 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.872e-06/0.1083, allocations: 7.938 kB / 463.5 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1083, allocations: 0 / 463.5 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1083, allocations: 4 kB / 463.5 MB, free: 0.7539 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000766/0.1091, allocations: 434.9 kB / 464 MB, free: 288 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.1092, allocations: 8.031 kB / 464 MB, free: 280 kB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.837e-05/0.1092, allocations: 38.56 kB / 464 MB, free: 232 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.845e-05/0.1093, allocations: 11.91 kB / 464 MB, free: 220 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.1096, allocations: 206.8 kB / 464.2 MB, free: 15.97 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.1096, allocations: 4 kB / 464.2 MB, free: 15.97 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.132e-05/0.1097, allocations: 19.92 kB / 464.3 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007032/0.1104, allocations: 195.7 kB / 464.4 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1104, allocations: 0 / 464.4 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.1105, allocations: 4 kB / 464.5 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.1105, allocations: 4 kB / 464.5 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007858/0.1113, allocations: 151.9 kB / 464.6 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.1126, allocations: 468.5 kB / 465.1 MB, free: 15.08 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.1139, allocations: 242.4 kB / 465.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004413/0.1143, allocations: 92.8 kB / 465.4 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.1144, allocations: 0 / 465.4 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.1144, allocations: 42.56 kB / 465.4 MB, free: 14.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 2.004e-06/0.1144, allocations: 0 / 465.4 MB, free: 14.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.002702/0.1171, allocations: 0.6461 MB / 466.1 MB, free: 13.99 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.992e-05/0.1173, allocations: 110.7 kB / 466.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.1175, allocations: 152.4 kB / 466.3 MB, free: 13.7 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.1175, allocations: 33.7 kB / 466.4 MB, free: 13.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.522e-05/0.1176, allocations: 108.2 kB / 466.5 MB, free: 13.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.516e-05/0.1177, allocations: 31.53 kB / 466.5 MB, free: 13.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.056e-05/0.1177, allocations: 4 kB / 466.5 MB, free: 13.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1179, allocations: 330.8 kB / 466.8 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004381/0.1183, allocations: 83.94 kB / 466.9 MB, free: 13.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004736/0.1188, allocations: 114.5 kB / 467 MB, free: 12.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004268/0.1193, allocations: 83.97 kB / 467.1 MB, free: 12.9 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1193, allocations: 0 / 467.1 MB, free: 12.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.001021/0.1203, allocations: 221.4 kB / 467.3 MB, free: 12.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.759e-05/0.1204, allocations: 89 kB / 467.4 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1204, allocations: 0 / 467.4 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.1205, allocations: 0 / 467.4 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/0.1209, allocations: 55.89 kB / 467.5 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.1209, allocations: 4.328 kB / 467.5 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/0.1212, allocations: 35.97 kB / 467.5 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.1212, allocations: 8 kB / 467.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.1212, allocations: 4 kB / 467.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004155/0.1217, allocations: 91.83 kB / 467.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/0.1217, allocations: 4 kB / 467.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.857e-06/0.1217, allocations: 0 / 467.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.1219, allocations: 27.98 kB / 467.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.1219, allocations: 0 / 467.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.1221, allocations: 15.98 kB / 467.7 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1221, allocations: 0 / 467.7 MB, free: 12.34 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 10 * 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.0001957/0.1223, allocations: 205.1 kB / 467.9 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.555e-05/0.1224, allocations: 11.91 kB / 467.9 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.423e-05/0.1224, allocations: 12.72 kB / 467.9 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1224, allocations: 0 / 467.9 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.1225, allocations: 0 / 467.9 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1225, allocations: 0 / 467.9 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.1241, allocations: 0.5614 MB / 468.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.1241, allocations: 0 / 468.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003395/0.1244, allocations: 44 kB / 468.5 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.1245, allocations: 4 kB / 468.5 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.1245, allocations: 0 / 468.5 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.1245, allocations: 4 kB / 468.5 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1245, allocations: 0 / 468.5 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.126, allocations: 424 kB / 468.9 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.358e-05/0.1261, allocations: 85.05 kB / 469 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/0.1261, allocations: 3.984 kB / 469 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005038/0.1267, allocations: 55.95 kB / 469 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.433e-05/0.1267, allocations: 15.98 kB / 469.1 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.1268, allocations: 7.984 kB / 469.1 MB, free: 10.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001275/0.1269, allocations: 112.1 kB / 469.2 MB, free: 10.71 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1269, allocations: 0 / 469.2 MB, free: 10.71 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004218/0.1274, allocations: 32.19 kB / 469.2 MB, free: 10.68 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * 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 (9): * Single equations (assignments): 9 * 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.001869/0.1292, allocations: 0.9511 MB / 470.2 MB, free: 9.695 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.1304, allocations: 231.8 kB / 470.4 MB, free: 9.469 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.1304, allocations: 0 / 470.4 MB, free: 9.469 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004669/0.1309, allocations: 104.5 kB / 470.5 MB, free: 9.367 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.1314, allocations: 20 kB / 470.5 MB, free: 9.348 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/0.1344, allocations: 0.9603 MB / 471.5 MB, free: 8.336 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.1347, allocations: 0.7045 MB / 472.2 MB, free: 7.605 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001531/0.1349, allocations: 20.55 kB / 472.2 MB, free: 7.586 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.135, allocations: 35.42 kB / 472.2 MB, free: 7.551 MB / 314.7 MB Notification: Performance of SimCode: time 1.182e-06/0.1351, allocations: 0 / 472.2 MB, free: 7.551 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/0.1594, allocations: 3.079 MB / 475.3 MB, free: 4.539 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003213/0.1598, allocations: 170.2 kB / 475.5 MB, free: 4.293 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.525/2.685, allocations: 0 / 475.5 MB, free: 4.293 MB / 314.7 MB "" Variables in the reference:time,slewRateLimiter.y,limiter.y,variableLimiter.y,deadZone.y,sine.y,constPos.y,constNeg.y,slewRateLimiter.y,idealDerivative.y Variables in the result:constNeg.k,constNeg.y,constPos.k,constPos.y,deadZone.deadZoneAtInit,deadZone.u,deadZone.uMax,deadZone.uMin,deadZone.y,der(idealDerivative.u),der(slewRateLimiter.y),idealDerivative.u,idealDerivative.y,limiter.limitsAtInit,limiter.strict,limiter.u,limiter.uMax,limiter.uMin,limiter.y,sine.amplitude,sine.freqHz,sine.offset,sine.phase,sine.startTime,sine.y,slewRateLimiter.Falling,slewRateLimiter.Rising,slewRateLimiter.Td,slewRateLimiter.strict,slewRateLimiter.u,slewRateLimiter.val,slewRateLimiter.y,time,variableLimiter.limit1,variableLimiter.limit2,variableLimiter.limitsAtInit,variableLimiter.strict,variableLimiter.u,variableLimiter.y