Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01139/0.0114, allocations: 163.9 kB / 15.12 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.742/1.742, allocations: 170.8 MB / 186.7 MB, free: 1.02 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001759/0.001759, allocations: 114.8 kB / 226.2 MB, free: 10.07 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4526/0.4526, allocations: 38.05 MB / 303.7 MB, free: 42.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005091/0.0005096, allocations: 16 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1156, allocations: 48.71 MB / 411.7 MB, free: 4.695 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002437/0.1181, allocations: 1.293 MB / 413 MB, free: 3.391 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.1196, allocations: 0.5774 MB / 413.6 MB, free: 2.809 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.568e-05/0.1197, allocations: 0 / 413.6 MB, free: 2.809 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.811e-05/0.1198, allocations: 7.875 kB / 413.6 MB, free: 2.801 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.1199, allocations: 15.86 kB / 413.6 MB, free: 2.785 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007341/0.1206, allocations: 147.8 kB / 413.7 MB, free: 2.641 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.1209, allocations: 139.6 kB / 413.9 MB, free: 2.504 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.121, allocations: 29.03 kB / 413.9 MB, free: 2.477 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.1212, allocations: 63.77 kB / 414 MB, free: 2.414 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.1214, allocations: 59.73 kB / 414 MB, free: 2.355 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.068e-05/0.1214, allocations: 4 kB / 414 MB, free: 2.352 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.736e-05/0.1215, allocations: 12 kB / 414 MB, free: 2.34 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.251e-05/0.1215, allocations: 31.89 kB / 414.1 MB, free: 2.309 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.485e-05/0.1216, allocations: 41.64 kB / 414.1 MB, free: 2.262 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.1218, allocations: 95.8 kB / 414.2 MB, free: 2.168 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1218, allocations: 0 / 414.2 MB, free: 2.168 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1218, allocations: 0 / 414.2 MB, free: 2.168 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.1218, allocations: 0 / 414.2 MB, free: 2.168 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009309/0.1228, allocations: 430.9 kB / 414.6 MB, free: 1.699 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.1228, allocations: 8.031 kB / 414.6 MB, free: 1.691 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.385e-05/0.1229, allocations: 46.55 kB / 414.7 MB, free: 1.637 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.777e-05/0.123, allocations: 15.89 kB / 414.7 MB, free: 1.621 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.1233, allocations: 215.3 kB / 414.9 MB, free: 1.371 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.1235, allocations: 89.09 kB / 415 MB, free: 1.266 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/0.1235, allocations: 12 kB / 415 MB, free: 1.254 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006519/0.1242, allocations: 176.1 kB / 415.2 MB, free: 1.066 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.1242, allocations: 11.86 kB / 415.2 MB, free: 1.055 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/0.1243, allocations: 4 kB / 415.2 MB, free: 1.051 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1243, allocations: 4 kB / 415.2 MB, free: 1.047 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007361/0.1251, allocations: 147.8 kB / 415.3 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.1267, allocations: 496.3 kB / 415.8 MB, free: 376 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009967/0.1277, allocations: 194.4 kB / 416 MB, free: 172 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003731/0.1281, allocations: 84.8 kB / 416.1 MB, free: 84 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.1281, allocations: 0 / 416.1 MB, free: 84 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.1282, allocations: 38.56 kB / 416.1 MB, free: 36 kB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.1282, allocations: 0 / 416.1 MB, free: 36 kB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.002361/0.1306, allocations: 0.5801 MB / 416.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.317e-05/0.1307, allocations: 106.8 kB / 416.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.1309, allocations: 164 kB / 417 MB, free: 15.1 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.444e-05/0.131, allocations: 29.7 kB / 417 MB, free: 15.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.1311, allocations: 111.9 kB / 417.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.1311, allocations: 27.64 kB / 417.1 MB, free: 14.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.247e-05/0.1311, allocations: 4 kB / 417.1 MB, free: 14.92 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1313, allocations: 326.8 kB / 417.5 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.1315, allocations: 39.92 kB / 417.5 MB, free: 14.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.1318, allocations: 84.25 kB / 417.6 MB, free: 14.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.132, allocations: 39.98 kB / 417.6 MB, free: 14.42 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.1321, allocations: 3.953 kB / 417.6 MB, free: 14.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005606/0.1326, allocations: 157.4 kB / 417.8 MB, free: 14.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.1327, allocations: 4 kB / 417.8 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1327, allocations: 3.938 kB / 417.8 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.1327, allocations: 4 kB / 417.8 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/0.1331, allocations: 56.02 kB / 417.8 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.1331, allocations: 0 / 417.8 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.1333, allocations: 15.98 kB / 417.9 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.1333, allocations: 96 / 417.9 MB, free: 14.17 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0001699/0.1335, allocations: 134.8 kB / 418 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.37e-05/0.1336, allocations: 15.86 kB / 418 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.471e-05/0.1337, allocations: 13.39 kB / 418 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.1337, allocations: 4 kB / 418 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1337, allocations: 0 / 418 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1337, allocations: 0 / 418 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.1351, allocations: 0.5147 MB / 418.5 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.1352, allocations: 0 / 418.5 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004402/0.1356, allocations: 59.94 kB / 418.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.1356, allocations: 4.031 kB / 418.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.1357, allocations: 0 / 418.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.1357, allocations: 4 kB / 418.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1357, allocations: 0 / 418.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.1369, allocations: 368.8 kB / 419 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.1371, allocations: 101 kB / 419.1 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.1372, allocations: 4 kB / 419.1 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005025/0.1377, allocations: 52.02 kB / 419.1 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.1377, allocations: 11.97 kB / 419.1 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.1378, allocations: 4 kB / 419.1 MB, free: 12.79 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001432/0.1379, allocations: 128 kB / 419.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1379, allocations: 0 / 419.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003683/0.1383, allocations: 20 kB / 419.3 MB, free: 12.64 MB / 330.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 (8): * Single equations (assignments): 8 * 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.001639/0.14, allocations: 0.9044 MB / 420.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006408/0.1406, allocations: 132 kB / 420.3 MB, free: 11.58 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.1407, allocations: 4 kB / 420.3 MB, free: 11.58 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003599/0.141, allocations: 67.95 kB / 420.4 MB, free: 11.51 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004915/0.1415, allocations: 36.2 kB / 420.4 MB, free: 11.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.1438, allocations: 0.849 MB / 421.3 MB, free: 10.57 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.1442, allocations: 0.7082 MB / 422 MB, free: 9.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000135/0.1443, allocations: 16.5 kB / 422 MB, free: 9.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.1444, allocations: 43.41 kB / 422 MB, free: 9.777 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1445, allocations: 0 / 422 MB, free: 9.777 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02812/0.1726, allocations: 2.906 MB / 424.9 MB, free: 6.918 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003702/0.173, allocations: 162.2 kB / 425.1 MB, free: 6.68 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.771/2.944, allocations: 0 / 425.1 MB, free: 6.68 MB / 330.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.y,time,variableLimiter.limit1,variableLimiter.limit2,variableLimiter.limitsAtInit,variableLimiter.strict,variableLimiter.u,variableLimiter.uMax,variableLimiter.uMin,variableLimiter.y