Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002672/0.002673, allocations: 352.3 kB / 15.95 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.651/3.651, allocations: 341.5 MB / 358.2 MB, free: 12.55 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.003529/0.003528, allocations: 225.2 kB / 397.9 MB, free: 4.898 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.6328/0.6328, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004549/0.0004551, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08493/0.08541, allocations: 48.7 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0007149/0.08619, allocations: 272.6 kB / 0.607 GB, free: 4.379 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002465/0.08647, allocations: 66.58 kB / 0.6071 GB, free: 4.316 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.509e-05/0.08651, allocations: 0 / 0.6071 GB, free: 4.316 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.43e-05/0.08654, allocations: 0 / 0.6071 GB, free: 4.316 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.08674, allocations: 11.92 kB / 0.6071 GB, free: 4.305 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.873e-05/0.08678, allocations: 0 / 0.6071 GB, free: 4.305 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.672e-05/0.08683, allocations: 8 kB / 0.6071 GB, free: 4.297 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.366e-05/0.0869, allocations: 0 / 0.6071 GB, free: 4.297 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.952e-05/0.08693, allocations: 3.984 kB / 0.6071 GB, free: 4.293 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.756e-05/0.08698, allocations: 7.938 kB / 0.6071 GB, free: 4.285 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.08701, allocations: 4 kB / 0.6071 GB, free: 4.281 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.747e-05/0.0871, allocations: 19.97 kB / 0.6071 GB, free: 4.262 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.595e-06/0.08712, allocations: 0 / 0.6071 GB, free: 4.262 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.718e-05/0.08715, allocations: 29.7 kB / 0.6071 GB, free: 4.227 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 6.695e-05/0.08722, allocations: 11.98 kB / 0.6072 GB, free: 4.215 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.08724, allocations: 0 / 0.6072 GB, free: 4.215 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.08725, allocations: 0 / 0.6072 GB, free: 4.215 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.08726, allocations: 0 / 0.6072 GB, free: 4.215 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003094/0.08758, allocations: 323.3 kB / 0.6075 GB, free: 3.852 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.08764, allocations: 8.031 kB / 0.6075 GB, free: 3.844 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.08768, allocations: 11.89 kB / 0.6075 GB, free: 3.832 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.141e-05/0.08778, allocations: 167.3 kB / 0.6076 GB, free: 3.629 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.08781, allocations: 3.938 kB / 0.6076 GB, free: 3.625 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.08784, allocations: 0 / 0.6076 GB, free: 3.625 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.08795, allocations: 37.69 kB / 0.6077 GB, free: 3.582 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.08798, allocations: 0 / 0.6077 GB, free: 3.582 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.088, allocations: 4 kB / 0.6077 GB, free: 3.578 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.08801, allocations: 0 / 0.6077 GB, free: 3.578 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.275e-05/0.08806, allocations: 11.95 kB / 0.6077 GB, free: 3.566 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.08822, allocations: 153.7 kB / 0.6078 GB, free: 3.367 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.08845, allocations: 42.55 kB / 0.6079 GB, free: 3.316 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.252e-05/0.08849, allocations: 8.859 kB / 0.6079 GB, free: 3.305 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005136/0.08902, allocations: 129.1 kB / 0.608 GB, free: 3.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.08905, allocations: 30.56 kB / 0.608 GB, free: 3.121 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 2.074e-06/0.08907, allocations: 0 / 0.608 GB, free: 3.121 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.002095/0.09117, allocations: 217.4 kB / 0.6083 GB, free: 2.902 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.09124, allocations: 51.41 kB / 0.6083 GB, free: 2.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.957e-05/0.09132, allocations: 101.8 kB / 0.6084 GB, free: 2.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.09135, allocations: 29.64 kB / 0.6084 GB, free: 2.695 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.901e-05/0.09138, allocations: 84.12 kB / 0.6085 GB, free: 2.609 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.911e-05/0.09146, allocations: 15.8 kB / 0.6085 GB, free: 2.594 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-06/0.09147, allocations: 4 kB / 0.6085 GB, free: 2.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.247e-05/0.09155, allocations: 315 kB / 0.6088 GB, free: 2.273 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.09169, allocations: 23.98 kB / 0.6089 GB, free: 2.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.09183, allocations: 15.98 kB / 0.6089 GB, free: 2.234 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.09198, allocations: 23.98 kB / 0.6089 GB, free: 2.211 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.092, allocations: 4 kB / 0.6089 GB, free: 2.207 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003329/0.09234, allocations: 89.59 kB / 0.609 GB, free: 2.113 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.09237, allocations: 4 kB / 0.609 GB, free: 2.109 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.09239, allocations: 4 kB / 0.609 GB, free: 2.105 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.09242, allocations: 288 / 0.609 GB, free: 2.105 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.09263, allocations: 19.98 kB / 0.609 GB, free: 2.086 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.09266, allocations: 0 / 0.609 GB, free: 2.086 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.09281, allocations: 7.984 kB / 0.609 GB, free: 2.078 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.09283, allocations: 7.953 kB / 0.609 GB, free: 2.07 MB / 362.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 7.647e-05/0.09292, allocations: 112.2 kB / 0.6091 GB, free: 1.953 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/0.09294, allocations: 7.922 kB / 0.6091 GB, free: 1.945 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004033/0.09336, allocations: 109.1 kB / 0.6092 GB, free: 1.836 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.09338, allocations: 0 / 0.6092 GB, free: 1.836 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.09339, allocations: 0 / 0.6092 GB, free: 1.836 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.469e-05/0.09342, allocations: 81.02 kB / 0.6093 GB, free: 1.738 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.09345, allocations: 4.266 kB / 0.6093 GB, free: 1.734 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.0936, allocations: 15.98 kB / 0.6093 GB, free: 1.719 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-05/0.09364, allocations: 0 / 0.6093 GB, free: 1.719 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004558/0.0941, allocations: 172.9 kB / 0.6095 GB, free: 1.543 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003584/0.09448, allocations: 258.7 kB / 0.6097 GB, free: 1.273 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001442/0.09464, allocations: 31.97 kB / 0.6098 GB, free: 1.242 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.558e-05/0.09468, allocations: 79.28 kB / 0.6099 GB, free: 1.164 MB / 362.7 MB Notification: Performance of Backend: time 7.82e-07/0.09469, allocations: 0 / 0.6099 GB, free: 1.164 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005628/0.09526, allocations: 106.4 kB / 0.61 GB, free: 1.055 MB / 362.7 MB Notification: Performance of SimCode: time 0.0003447/0.09563, allocations: 0.5429 MB / 0.6105 GB, free: 472 kB / 362.7 MB Notification: Performance of Templates: time 0.2654/0.361, allocations: 0.686 MB / 0.6112 GB, free: 90.51 MB / 362.7 MB "" Variables in the reference:time,x,yRegStep,yRegStep_der Variables in the result:time,x,x_small,yRegStep,yRegStep_der