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: translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003521/0.003528, allocations: 348.4 kB / 15.94 MB, free: 6.215 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 3.754/3.754, allocations: 341.5 MB / 358.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00367/0.00367, allocations: 229.1 kB / 397.9 MB, free: 4.973 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4768/0.4768, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006786/0.0006788, allocations: 15.98 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1143, allocations: 48.69 MB / 0.6067 GB, free: 4.664 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003144/0.1175, allocations: 1.301 MB / 0.608 GB, free: 3.352 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.1195, allocations: 0.5771 MB / 0.6086 GB, free: 2.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.1197, allocations: 4 kB / 0.6086 GB, free: 2.766 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 3.474e-05/0.1198, allocations: 3.938 kB / 0.6086 GB, free: 2.762 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.12, allocations: 19.84 kB / 0.6086 GB, free: 2.742 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.1211, allocations: 139.8 kB / 0.6087 GB, free: 2.605 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003339/0.1215, allocations: 139.6 kB / 0.6089 GB, free: 2.469 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.1217, allocations: 37.31 kB / 0.6089 GB, free: 2.434 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.1219, allocations: 63.83 kB / 0.609 GB, free: 2.371 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.1221, allocations: 51.75 kB / 0.609 GB, free: 2.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.307e-05/0.1222, allocations: 8 kB / 0.609 GB, free: 2.312 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.948e-05/0.1223, allocations: 8 kB / 0.609 GB, free: 2.305 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.905e-05/0.1224, allocations: 31.89 kB / 0.609 GB, free: 2.273 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.766e-05/0.1225, allocations: 45.64 kB / 0.6091 GB, free: 2.223 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.1227, allocations: 95.73 kB / 0.6092 GB, free: 2.129 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.1228, allocations: 3.938 kB / 0.6092 GB, free: 2.125 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.457e-06/0.1228, allocations: 0 / 0.6092 GB, free: 2.125 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1228, allocations: 4 kB / 0.6092 GB, free: 2.121 MB / 362.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.001102/0.1239, allocations: 426.8 kB / 0.6096 GB, free: 1.656 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/0.124, allocations: 8.031 kB / 0.6096 GB, free: 1.648 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.1241, allocations: 19.91 kB / 0.6096 GB, free: 1.629 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000417/0.1246, allocations: 212.9 kB / 0.6098 GB, free: 1.383 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.1247, allocations: 85.11 kB / 0.6099 GB, free: 1.281 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.574e-05/0.1248, allocations: 8 kB / 0.6099 GB, free: 1.273 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000845/0.1257, allocations: 180.1 kB / 0.6101 GB, free: 1.082 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.1257, allocations: 3.938 kB / 0.6101 GB, free: 1.078 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.416e-05/0.1258, allocations: 11.89 kB / 0.6101 GB, free: 1.066 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1258, allocations: 0 / 0.6101 GB, free: 1.066 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.1269, allocations: 147.9 kB / 0.6102 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2719/0.3988, allocations: 493 kB / 0.6107 GB, free: 90.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009817/0.3999, allocations: 197.4 kB / 0.6109 GB, free: 90.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003624/0.4002, allocations: 79.45 kB / 0.611 GB, free: 90.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.4003, allocations: 0.5 kB / 0.611 GB, free: 90.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.4003, allocations: 39.34 kB / 0.611 GB, free: 90.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 3.166e-06/0.4003, allocations: 0 / 0.611 GB, free: 90.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.002258/0.4026, allocations: 0.5882 MB / 0.6116 GB, free: 90.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.4027, allocations: 104.8 kB / 0.6117 GB, free: 90.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.4029, allocations: 166.3 kB / 0.6118 GB, free: 90.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.4029, allocations: 28.58 kB / 0.6119 GB, free: 90.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.189e-05/0.403, allocations: 109.7 kB / 0.612 GB, free: 90.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/0.4031, allocations: 29.16 kB / 0.612 GB, free: 89.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.332e-05/0.4031, allocations: 5.594 kB / 0.612 GB, free: 89.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.335e-05/0.4032, allocations: 323.5 kB / 0.6123 GB, free: 89.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.4034, allocations: 42.84 kB / 0.6124 GB, free: 89.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.4036, allocations: 80.88 kB / 0.6124 GB, free: 89.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.4039, allocations: 47.66 kB / 0.6125 GB, free: 89.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.4039, allocations: 0 / 0.6125 GB, free: 89.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005313/0.4044, allocations: 152.8 kB / 0.6126 GB, free: 89.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.4045, allocations: 6 kB / 0.6126 GB, free: 89.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.4045, allocations: 1.453 kB / 0.6126 GB, free: 89.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.4045, allocations: 1.906 kB / 0.6126 GB, free: 89.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/0.4049, allocations: 57.3 kB / 0.6127 GB, free: 89.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.4049, allocations: 1.734 kB / 0.6127 GB, free: 89.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.4051, allocations: 16.42 kB / 0.6127 GB, free: 89.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.4052, allocations: 6.797 kB / 0.6127 GB, free: 89.61 MB / 362.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.0001266/0.4053, allocations: 126 kB / 0.6128 GB, free: 89.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.263e-05/0.4054, allocations: 19.23 kB / 0.6129 GB, free: 89.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.473e-05/0.4054, allocations: 13.44 kB / 0.6129 GB, free: 89.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.4054, allocations: 1.922 kB / 0.6129 GB, free: 89.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.4055, allocations: 0 / 0.6129 GB, free: 89.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.4056, allocations: 105.6 kB / 0.613 GB, free: 89.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.363e-05/0.4056, allocations: 1.25 kB / 0.613 GB, free: 89.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006131/0.4063, allocations: 69.2 kB / 0.613 GB, free: 89.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.4063, allocations: 8.75 kB / 0.613 GB, free: 89.39 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001045/0.4074, allocations: 279.5 kB / 0.6133 GB, free: 89.28 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00128/0.4087, allocations: 454.2 kB / 0.6137 GB, free: 89.07 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003772/0.4091, allocations: 72.41 kB / 0.6138 GB, free: 89.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001318/0.4092, allocations: 120.3 kB / 0.6139 GB, free: 88.99 MB / 362.7 MB Notification: Performance of Backend: time 4.31e-07/0.4092, allocations: 2.875 kB / 0.6139 GB, free: 88.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006724/0.4099, allocations: 141.1 kB / 0.6141 GB, free: 88.93 MB / 362.7 MB Notification: Performance of SimCode: time 0.000798/0.4107, allocations: 0.7159 MB / 0.6148 GB, free: 88.29 MB / 362.7 MB Notification: Performance of Templates: time 0.006581/0.4173, allocations: 1.682 MB / 0.6164 GB, free: 88.27 MB / 362.7 MB