Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",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.01576/0.01577, allocations: 161.6 kB / 15.11 MB, free: 6.043 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.843/1.843, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.001754/0.001753, allocations: 106.8 kB / 226.2 MB, free: 10.08 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.5689/0.5689, allocations: 38.06 MB / 303.7 MB, free: 42.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007222/0.0007226, allocations: 15.98 kB / 363 MB, free: 5.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1405, allocations: 48.7 MB / 411.7 MB, free: 4.695 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001018/0.1416, allocations: 298.2 kB / 412 MB, free: 4.406 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005587/0.1422, allocations: 111.7 kB / 412.1 MB, free: 4.297 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.281e-05/0.1423, allocations: 4 kB / 412.1 MB, free: 4.293 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.1423, allocations: 3.938 kB / 412.1 MB, free: 4.289 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003268/0.1426, allocations: 23.91 kB / 412.1 MB, free: 4.266 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.548e-06/0.1427, allocations: 0 / 412.1 MB, free: 4.266 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.982e-05/0.1428, allocations: 23.92 kB / 412.2 MB, free: 4.242 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.815e-05/0.1428, allocations: 7.938 kB / 412.2 MB, free: 4.234 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.042e-05/0.1429, allocations: 7.922 kB / 412.2 MB, free: 4.227 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.438e-05/0.143, allocations: 15.92 kB / 412.2 MB, free: 4.211 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.143, allocations: 4 kB / 412.2 MB, free: 4.207 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000231/0.1433, allocations: 47.94 kB / 412.2 MB, free: 4.16 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.287e-05/0.1433, allocations: 4 kB / 412.2 MB, free: 4.156 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.958e-05/0.1434, allocations: 29.64 kB / 412.3 MB, free: 4.121 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.1435, allocations: 27.95 kB / 412.3 MB, free: 4.094 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.1436, allocations: 4 kB / 412.3 MB, free: 4.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1436, allocations: 0 / 412.3 MB, free: 4.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1436, allocations: 4 kB / 412.3 MB, free: 4.086 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004257/0.144, allocations: 335.5 kB / 412.6 MB, free: 3.711 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/0.1441, allocations: 8.031 kB / 412.6 MB, free: 3.703 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.47e-05/0.1442, allocations: 38.56 kB / 412.7 MB, free: 3.656 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/0.1443, allocations: 3.984 kB / 412.7 MB, free: 3.652 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.1444, allocations: 167 kB / 412.8 MB, free: 3.449 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.1445, allocations: 0 / 412.8 MB, free: 3.449 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.1445, allocations: 11.94 kB / 412.9 MB, free: 3.438 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.1448, allocations: 57.67 kB / 412.9 MB, free: 3.375 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1448, allocations: 0 / 412.9 MB, free: 3.375 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.1448, allocations: 7.984 kB / 412.9 MB, free: 3.367 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1448, allocations: 0 / 412.9 MB, free: 3.367 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002399/0.1451, allocations: 51.95 kB / 413 MB, free: 3.316 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002983/0.1454, allocations: 177.5 kB / 413.1 MB, free: 3.094 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.1457, allocations: 78.55 kB / 413.2 MB, free: 3.008 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.1459, allocations: 24.86 kB / 413.2 MB, free: 2.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006128/0.1465, allocations: 263.3 kB / 413.5 MB, free: 2.668 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.226e-05/0.1466, allocations: 30.56 kB / 413.5 MB, free: 2.629 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 3.767e-06/0.1466, allocations: 3.938 kB / 413.5 MB, free: 2.625 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.000458/0.1471, allocations: 101.9 kB / 413.6 MB, free: 2.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.329e-05/0.1472, allocations: 51.41 kB / 413.7 MB, free: 2.457 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.1473, allocations: 93.86 kB / 413.8 MB, free: 2.355 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.1474, allocations: 33.83 kB / 413.8 MB, free: 2.316 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/0.1474, allocations: 80.14 kB / 413.9 MB, free: 2.234 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.057e-05/0.1475, allocations: 43.38 kB / 413.9 MB, free: 2.191 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-06/0.1476, allocations: 4.312 kB / 413.9 MB, free: 2.188 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.1478, allocations: 322.8 kB / 414.3 MB, free: 1.863 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.967e-05/0.1479, allocations: 12 kB / 414.3 MB, free: 1.852 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.904e-05/0.148, allocations: 23.92 kB / 414.3 MB, free: 1.828 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.1481, allocations: 19.95 kB / 414.3 MB, free: 1.809 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1481, allocations: 0 / 414.3 MB, free: 1.809 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000301/0.1484, allocations: 89.62 kB / 414.4 MB, free: 1.715 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.1485, allocations: 4 kB / 414.4 MB, free: 1.711 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1485, allocations: 0 / 414.4 MB, free: 1.711 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.1485, allocations: 0 / 414.4 MB, free: 1.711 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/0.1488, allocations: 19.98 kB / 414.4 MB, free: 1.691 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.1488, allocations: 0 / 414.4 MB, free: 1.691 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.768e-05/0.1489, allocations: 4 kB / 414.4 MB, free: 1.688 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.1489, allocations: 4 kB / 414.4 MB, free: 1.684 MB / 314.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.0001463/0.1491, allocations: 120.1 kB / 414.5 MB, free: 1.559 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.1492, allocations: 11.91 kB / 414.6 MB, free: 1.547 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004181/0.1496, allocations: 101.6 kB / 414.7 MB, free: 1.438 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.1496, allocations: 0 / 414.7 MB, free: 1.438 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1496, allocations: 0 / 414.7 MB, free: 1.438 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.1497, allocations: 4 kB / 414.7 MB, free: 1.434 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.1499, allocations: 161.7 kB / 414.8 MB, free: 1.227 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.15, allocations: 3.953 kB / 414.8 MB, free: 1.223 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.1502, allocations: 19.98 kB / 414.8 MB, free: 1.203 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.1502, allocations: 384 / 414.8 MB, free: 1.203 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.1502, allocations: 8 kB / 414.8 MB, free: 1.195 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.1502, allocations: 0 / 414.8 MB, free: 1.195 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1502, allocations: 0 / 414.8 MB, free: 1.195 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.1506, allocations: 116.9 kB / 415 MB, free: 1.062 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.993e-05/0.1507, allocations: 85 kB / 415 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.1507, allocations: 11.94 kB / 415.1 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.49e-05/0.1508, allocations: 0 / 415.1 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.1508, allocations: 7.984 kB / 415.1 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.1509, allocations: 4 kB / 415.1 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.528e-05/0.151, allocations: 83.28 kB / 415.1 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.151, allocations: 0 / 415.1 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004785/0.1515, allocations: 12 kB / 415.2 MB, free: 0.8438 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.000863/0.1524, allocations: 0.6553 MB / 415.8 MB, free: 164 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002742/0.1527, allocations: 55.92 kB / 415.9 MB, free: 108 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.1527, allocations: 0 / 415.9 MB, free: 108 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.1528, allocations: 35.92 kB / 415.9 MB, free: 72 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.1531, allocations: 8 kB / 415.9 MB, free: 64 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008676/0.154, allocations: 180.9 kB / 416.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.1544, allocations: 0.6848 MB / 416.8 MB, free: 15.13 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.551e-05/0.1545, allocations: 4 kB / 416.8 MB, free: 15.13 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.622e-05/0.1546, allocations: 23.36 kB / 416.8 MB, free: 15.11 MB / 330.7 MB Notification: Performance of SimCode: time 4.178e-06/0.1547, allocations: 0 / 416.8 MB, free: 15.11 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08606/0.2407, allocations: 1.336 MB / 418.1 MB, free: 13.82 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003599/0.2412, allocations: 196 kB / 418.3 MB, free: 13.57 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.435/2.676, allocations: 3.938 kB / 418.3 MB, free: 13.57 MB / 330.7 MB "" Variables in the reference:time,x,sqrtx,sqrtx_a,x2,x2_a,x3,x3_a,sqrtxerr,x2err,x3err Variables in the result:delta,sqrtx,sqrtx_a,sqrtxerr,time,x,x2,x2_a,x2err,x3,x3_a,x3err