Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003834/0.00384, allocations: 369.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 3.816/3.816, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.005145/0.005145, allocations: 235.4 kB / 451 MB, free: 145.1 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.5535/0.5535, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004474/0.0004477, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.106, allocations: 54.88 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0006976/0.1067, allocations: 268.3 kB / 0.6804 GB, free: 41.39 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002472/0.107, allocations: 65.47 kB / 0.6804 GB, free: 41.33 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.211e-05/0.107, allocations: 0 / 0.6804 GB, free: 41.33 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.275e-05/0.1071, allocations: 0 / 0.6804 GB, free: 41.33 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.1073, allocations: 8 kB / 0.6804 GB, free: 41.32 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.987e-05/0.1073, allocations: 3.984 kB / 0.6804 GB, free: 41.32 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.497e-05/0.1074, allocations: 15.92 kB / 0.6804 GB, free: 41.3 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.344e-05/0.1074, allocations: 4 kB / 0.6804 GB, free: 41.3 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.749e-05/0.1075, allocations: 0 / 0.6804 GB, free: 41.3 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.067e-05/0.1075, allocations: 4 kB / 0.6805 GB, free: 41.29 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.1075, allocations: 0 / 0.6805 GB, free: 41.29 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.27e-05/0.1076, allocations: 19.97 kB / 0.6805 GB, free: 41.27 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.825e-06/0.1076, allocations: 7.938 kB / 0.6805 GB, free: 41.27 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.639e-05/0.1077, allocations: 25.7 kB / 0.6805 GB, free: 41.23 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 6.402e-05/0.1077, allocations: 11.97 kB / 0.6805 GB, free: 41.22 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1078, allocations: 0 / 0.6805 GB, free: 41.22 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1078, allocations: 0 / 0.6805 GB, free: 41.22 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1078, allocations: 3.938 kB / 0.6805 GB, free: 41.22 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002388/0.108, allocations: 323.3 kB / 0.6808 GB, free: 40.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.1081, allocations: 8.828 kB / 0.6808 GB, free: 40.85 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.777e-05/0.1081, allocations: 7.953 kB / 0.6808 GB, free: 40.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.155e-05/0.1082, allocations: 167.3 kB / 0.681 GB, free: 40.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.1082, allocations: 0 / 0.681 GB, free: 40.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.1083, allocations: 0 / 0.681 GB, free: 40.64 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.735e-05/0.1084, allocations: 33.7 kB / 0.681 GB, free: 40.6 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1084, allocations: 0 / 0.681 GB, free: 40.6 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1084, allocations: 11.98 kB / 0.681 GB, free: 40.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.1084, allocations: 0 / 0.681 GB, free: 40.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.96e-05/0.1085, allocations: 11.89 kB / 0.6811 GB, free: 40.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001249/0.1086, allocations: 153.7 kB / 0.6812 GB, free: 40.38 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.1088, allocations: 30.58 kB / 0.6812 GB, free: 40.34 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.18e-05/0.1088, allocations: 12.94 kB / 0.6812 GB, free: 40.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004968/0.1093, allocations: 125.1 kB / 0.6814 GB, free: 40.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.1094, allocations: 30.56 kB / 0.6814 GB, free: 40.14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.966e-06/0.1094, allocations: 0 / 0.6814 GB, free: 40.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.002162/0.1116, allocations: 221.3 kB / 0.6816 GB, free: 39.92 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.1116, allocations: 55.41 kB / 0.6817 GB, free: 39.85 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.425e-05/0.1117, allocations: 97.81 kB / 0.6818 GB, free: 39.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.1117, allocations: 29.64 kB / 0.6818 GB, free: 39.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.806e-05/0.1118, allocations: 88.2 kB / 0.6819 GB, free: 39.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.1118, allocations: 13.98 kB / 0.6819 GB, free: 39.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-06/0.1118, allocations: 4 kB / 0.6819 GB, free: 39.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.493e-05/0.1119, allocations: 314.8 kB / 0.6822 GB, free: 39.29 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.112, allocations: 23.98 kB / 0.6822 GB, free: 39.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.1122, allocations: 19.98 kB / 0.6822 GB, free: 39.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.1123, allocations: 23.98 kB / 0.6822 GB, free: 39.22 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1123, allocations: 0 / 0.6822 GB, free: 39.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003276/0.1127, allocations: 85.91 kB / 0.6823 GB, free: 39.13 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1127, allocations: 8 kB / 0.6823 GB, free: 39.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1127, allocations: 4 kB / 0.6823 GB, free: 39.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.1127, allocations: 0 / 0.6823 GB, free: 39.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.113, allocations: 19.98 kB / 0.6824 GB, free: 39.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.113, allocations: 7.875 kB / 0.6824 GB, free: 39.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.1131, allocations: 7.984 kB / 0.6824 GB, free: 39.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.1132, allocations: 7.953 kB / 0.6824 GB, free: 39.08 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 (5): * Single equations (assignments): 5 * 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 6.232e-05/0.1132, allocations: 109.8 kB / 0.6825 GB, free: 38.96 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.1132, allocations: 12.28 kB / 0.6825 GB, free: 38.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003833/0.1136, allocations: 97.11 kB / 0.6826 GB, free: 38.85 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.1137, allocations: 3.984 kB / 0.6826 GB, free: 38.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1137, allocations: 4 kB / 0.6826 GB, free: 38.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.227e-05/0.1137, allocations: 77.11 kB / 0.6827 GB, free: 38.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.1137, allocations: 3.953 kB / 0.6827 GB, free: 38.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.1139, allocations: 11.98 kB / 0.6827 GB, free: 38.73 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.003e-05/0.1139, allocations: 0 / 0.6827 GB, free: 38.73 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004463/0.1144, allocations: 176.9 kB / 0.6829 GB, free: 38.55 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003486/0.1147, allocations: 254.8 kB / 0.6831 GB, free: 38.29 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001415/0.1149, allocations: 27.98 kB / 0.6831 GB, free: 38.26 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.134e-05/0.1149, allocations: 75.28 kB / 0.6832 GB, free: 38.19 MB / 346.7 MB Notification: Performance of Backend: time 7.62e-07/0.1149, allocations: 0 / 0.6832 GB, free: 38.19 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005539/0.1155, allocations: 110.3 kB / 0.6833 GB, free: 38.07 MB / 346.7 MB Notification: Performance of SimCode: time 0.0002894/0.1158, allocations: 0.5508 MB / 0.6838 GB, free: 37.47 MB / 346.7 MB Notification: Performance of Templates: time 0.003404/0.1192, allocations: 0.6874 MB / 0.6845 GB, free: 36.79 MB / 346.7 MB "" Variables in the reference:time,x,yRegStep,yRegStep_der Variables in the result:time,x,x_small,yRegStep,yRegStep_der