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: 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.2_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003951/0.003958, allocations: 371.6 kB / 15.96 MB, free: 6.199 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 4.312/4.312, allocations: 388.9 MB / 405.6 MB, free: 9.648 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.005442/0.005441, allocations: 226.7 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5963/0.5963, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004924/0.0004927, allocations: 16 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09427/0.09479, allocations: 54.88 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002077/0.09694, allocations: 1.295 MB / 0.6814 GB, free: 40.36 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.09824, allocations: 0.5548 MB / 0.6819 GB, free: 39.8 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.09842, allocations: 3.938 kB / 0.6819 GB, free: 39.8 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.09846, allocations: 7.922 kB / 0.6819 GB, free: 39.79 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.0986, allocations: 15.86 kB / 0.6819 GB, free: 39.78 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000519/0.09913, allocations: 99.81 kB / 0.682 GB, free: 39.68 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.09933, allocations: 115.7 kB / 0.6821 GB, free: 39.57 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.09947, allocations: 28.97 kB / 0.6822 GB, free: 39.54 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.09962, allocations: 63.77 kB / 0.6822 GB, free: 39.48 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.09975, allocations: 47.8 kB / 0.6823 GB, free: 39.43 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.477e-05/0.0998, allocations: 15.94 kB / 0.6823 GB, free: 39.41 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.961e-05/0.09984, allocations: 8 kB / 0.6823 GB, free: 39.41 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.432e-05/0.09988, allocations: 27.91 kB / 0.6823 GB, free: 39.38 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.424e-05/0.09993, allocations: 37.64 kB / 0.6824 GB, free: 39.34 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.1001, allocations: 80.05 kB / 0.6824 GB, free: 39.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1001, allocations: 4 kB / 0.6824 GB, free: 39.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1001, allocations: 0 / 0.6824 GB, free: 39.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.1001, allocations: 0 / 0.6824 GB, free: 39.25 MB / 346.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.0007665/0.1009, allocations: 430.9 kB / 0.6828 GB, free: 38.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.1009, allocations: 12.02 kB / 0.6829 GB, free: 38.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.087e-05/0.101, allocations: 11.91 kB / 0.6829 GB, free: 38.76 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.1013, allocations: 206.8 kB / 0.6831 GB, free: 38.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.1013, allocations: 12 kB / 0.6831 GB, free: 38.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.1013, allocations: 8 kB / 0.6831 GB, free: 38.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006114/0.102, allocations: 184.1 kB / 0.6833 GB, free: 38.3 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.102, allocations: 3.938 kB / 0.6833 GB, free: 38.3 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.607e-05/0.1021, allocations: 8 kB / 0.6833 GB, free: 38.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.1021, allocations: 0 / 0.6833 GB, free: 38.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007026/0.1028, allocations: 159.9 kB / 0.6834 GB, free: 38.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.104, allocations: 460.3 kB / 0.6839 GB, free: 37.64 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.1051, allocations: 242.5 kB / 0.6841 GB, free: 37.39 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000396/0.1055, allocations: 92.8 kB / 0.6842 GB, free: 37.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.1056, allocations: 4 kB / 0.6842 GB, free: 37.29 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.1056, allocations: 30.56 kB / 0.6842 GB, free: 37.25 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 3.467e-06/0.1056, allocations: 0 / 0.6842 GB, free: 37.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.002441/0.1081, allocations: 0.662 MB / 0.6849 GB, free: 36.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.1081, allocations: 110.8 kB / 0.685 GB, free: 36.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.1083, allocations: 146.1 kB / 0.6851 GB, free: 36.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.1083, allocations: 29.7 kB / 0.6851 GB, free: 36.22 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.635e-05/0.1084, allocations: 108 kB / 0.6852 GB, free: 36.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.1084, allocations: 35.48 kB / 0.6853 GB, free: 36.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-06/0.1085, allocations: 0 / 0.6853 GB, free: 36.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.572e-05/0.1085, allocations: 330.8 kB / 0.6856 GB, free: 35.74 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003815/0.1089, allocations: 79.94 kB / 0.6857 GB, free: 35.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004117/0.1093, allocations: 114.5 kB / 0.6858 GB, free: 35.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003868/0.1098, allocations: 83.97 kB / 0.6859 GB, free: 35.46 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1098, allocations: 4 kB / 0.6859 GB, free: 35.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0009108/0.1107, allocations: 217.4 kB / 0.6861 GB, free: 35.24 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.308e-05/0.1108, allocations: 97 kB / 0.6862 GB, free: 35.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1108, allocations: 0 / 0.6862 GB, free: 35.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.1108, allocations: 0 / 0.6862 GB, free: 35.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.1112, allocations: 48.33 kB / 0.6862 GB, free: 35.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.1112, allocations: 8 kB / 0.6862 GB, free: 35.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/0.1114, allocations: 31.92 kB / 0.6862 GB, free: 35.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.1115, allocations: 4.547 kB / 0.6862 GB, free: 35.05 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.103e-06/0.1115, allocations: 7.938 kB / 0.6863 GB, free: 35.04 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003489/0.1118, allocations: 95.89 kB / 0.6863 GB, free: 34.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-06/0.1119, allocations: 0 / 0.6863 GB, free: 34.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-06/0.1119, allocations: 0 / 0.6863 GB, free: 34.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.112, allocations: 27.97 kB / 0.6864 GB, free: 34.92 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.1121, allocations: 0 / 0.6864 GB, free: 34.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.1122, allocations: 16 kB / 0.6864 GB, free: 34.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.1122, allocations: 11.94 kB / 0.6864 GB, free: 34.89 MB / 346.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.0001288/0.1124, allocations: 193.9 kB / 0.6866 GB, free: 34.69 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.34e-05/0.1124, allocations: 15.86 kB / 0.6866 GB, free: 34.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.24e-05/0.1125, allocations: 12.72 kB / 0.6866 GB, free: 34.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1125, allocations: 0 / 0.6866 GB, free: 34.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1125, allocations: 4 kB / 0.6866 GB, free: 34.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.74e-05/0.1126, allocations: 96.91 kB / 0.6867 GB, free: 34.54 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.1126, allocations: 4 kB / 0.6867 GB, free: 34.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004755/0.1131, allocations: 51.95 kB / 0.6868 GB, free: 34.49 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.1132, allocations: 7.984 kB / 0.6868 GB, free: 34.48 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001076/0.1142, allocations: 320.7 kB / 0.6871 GB, free: 34.16 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00132/0.1156, allocations: 482.5 kB / 0.6875 GB, free: 33.67 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000405/0.116, allocations: 100.2 kB / 0.6876 GB, free: 33.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.967e-05/0.1161, allocations: 116.1 kB / 0.6877 GB, free: 33.46 MB / 346.7 MB Notification: Performance of Backend: time 8.42e-07/0.1161, allocations: 3.938 kB / 0.6877 GB, free: 33.46 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009981/0.1171, allocations: 230.2 kB / 0.688 GB, free: 33.23 MB / 346.7 MB Notification: Performance of SimCode: time 0.0006969/0.1178, allocations: 0.7014 MB / 0.6887 GB, free: 32.48 MB / 346.7 MB Notification: Performance of Templates: time 0.006141/0.124, allocations: 1.996 MB / 0.6906 GB, free: 30.5 MB / 346.7 MB