Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",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.01339/0.01339, allocations: 165.8 kB / 15.11 MB, free: 6 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.752/1.752, allocations: 170.8 MB / 186.6 MB, free: 1.016 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.001981/0.001981, allocations: 115.3 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.5321/0.5321, allocations: 38.06 MB / 303.7 MB, free: 42.5 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004757/0.0004758, allocations: 12 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.106, allocations: 48.7 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.424/0.53, allocations: 73.42 MB / 485.1 MB, free: 14.29 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.5303, allocations: 58.72 kB / 485.2 MB, free: 14.26 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01772/0.548, allocations: 3.098 MB / 488.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.5481, allocations: 4 kB / 488.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.5481, allocations: 0 / 488.3 MB, free: 11.68 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005067/0.5487, allocations: 365.4 kB / 488.6 MB, free: 11.28 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.5487, allocations: 8.031 kB / 488.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.598e-05/0.5488, allocations: 38.05 kB / 488.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.5488, allocations: 11.17 kB / 488.7 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.549, allocations: 167 kB / 488.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.549, allocations: 7.25 kB / 488.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.549, allocations: 4 kB / 488.9 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.5493, allocations: 72.41 kB / 488.9 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.5493, allocations: 4 kB / 488.9 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.5493, allocations: 3.062 kB / 488.9 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.5493, allocations: 1.031 kB / 488.9 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.5495, allocations: 39.08 kB / 489 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002436/0.5498, allocations: 178.7 kB / 489.1 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.55, allocations: 93.47 kB / 489.2 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004057/0.5505, allocations: 117.1 kB / 489.3 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.5505, allocations: 30.56 kB / 489.4 MB, free: 10.44 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.846e-06/0.5505, allocations: 0 / 489.4 MB, free: 10.44 MB / 330.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.263/0.8135, allocations: 5.528 MB / 494.9 MB, free: 5.004 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.8136, allocations: 55.41 kB / 495 MB, free: 4.938 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.612e-05/0.8137, allocations: 88.62 kB / 495 MB, free: 4.848 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/0.8137, allocations: 25.7 kB / 495.1 MB, free: 4.816 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.954e-05/0.8138, allocations: 80.52 kB / 495.2 MB, free: 4.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.14e-05/0.8139, allocations: 78.41 kB / 495.2 MB, free: 4.664 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.8139, allocations: 8 kB / 495.2 MB, free: 4.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.348e-05/0.814, allocations: 318.7 kB / 495.5 MB, free: 4.344 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006619/0.8146, allocations: 139.2 kB / 495.7 MB, free: 4.227 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006482/0.8153, allocations: 135.1 kB / 495.8 MB, free: 4.113 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.8167, allocations: 184.4 kB / 496 MB, free: 3.965 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.8168, allocations: 4 kB / 496 MB, free: 3.961 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002229/0.819, allocations: 398.5 kB / 496.4 MB, free: 3.617 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.8191, allocations: 8 kB / 496.4 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.8191, allocations: 0 / 496.4 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.8191, allocations: 0 / 496.4 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007395/0.8199, allocations: 95.84 kB / 496.5 MB, free: 3.516 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.8199, allocations: 7.953 kB / 496.5 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003884/0.8203, allocations: 35.84 kB / 496.5 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.595e-05/0.8204, allocations: 15.98 kB / 496.5 MB, free: 3.461 MB / 330.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 (23): * Single equations (assignments): 23 * 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.0001359/0.8205, allocations: 121.6 kB / 496.7 MB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.686e-05/0.8206, allocations: 16.52 kB / 496.7 MB, free: 3.324 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002575/0.8231, allocations: 483 kB / 497.2 MB, free: 2.914 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.8232, allocations: 0 / 497.2 MB, free: 2.914 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.8232, allocations: 0 / 497.2 MB, free: 2.914 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.8232, allocations: 11.5 kB / 497.2 MB, free: 2.906 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003899/0.8271, allocations: 0.8675 MB / 498 MB, free: 2.043 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.8272, allocations: 0 / 498 MB, free: 2.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005856/0.8278, allocations: 91.92 kB / 498.1 MB, free: 1.953 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-06/0.8278, allocations: 0 / 498.1 MB, free: 1.953 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.735e-05/0.8279, allocations: 15.73 kB / 498.1 MB, free: 1.941 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.8279, allocations: 4 kB / 498.1 MB, free: 1.938 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.8279, allocations: 0 / 498.1 MB, free: 1.938 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/0.83, allocations: 0.4892 MB / 498.6 MB, free: 1.457 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.963e-05/0.8301, allocations: 89 kB / 498.7 MB, free: 1.352 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.586e-05/0.8301, allocations: 4 kB / 498.7 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003495/0.8305, allocations: 35.91 kB / 498.8 MB, free: 1.316 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.8306, allocations: 19.78 kB / 498.8 MB, free: 1.301 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.949e-05/0.8306, allocations: 19.94 kB / 498.8 MB, free: 1.281 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.003e-05/0.8307, allocations: 75.28 kB / 498.9 MB, free: 1.207 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.8307, allocations: 3.938 kB / 498.9 MB, free: 1.203 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002066/0.8327, allocations: 0.6125 MB / 499.5 MB, free: 0.5977 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (23): * Single equations (assignments): 23 * 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.007514/0.8403, allocations: 1.391 MB / 0.4891 GB, free: 15.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001609/0.8419, allocations: 298.9 kB / 0.4894 GB, free: 14.96 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.842, allocations: 4 kB / 0.4894 GB, free: 14.96 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007296/0.8427, allocations: 163.6 kB / 0.4896 GB, free: 14.81 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.843, allocations: 7.891 kB / 0.4896 GB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.8462, allocations: 0.5213 MB / 0.4901 GB, free: 14.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.8467, allocations: 0.7017 MB / 0.4908 GB, free: 13.54 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005332/0.8472, allocations: 73.95 kB / 0.4909 GB, free: 13.47 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002862/0.8475, allocations: 62.7 kB / 0.4909 GB, free: 13.42 MB / 346.7 MB Notification: Performance of SimCode: time 1.152e-06/0.8476, allocations: 0 / 0.4909 GB, free: 13.42 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06005/0.9076, allocations: 18.1 MB / 0.5086 GB, free: 11.4 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002656/0.9079, allocations: 198.9 kB / 0.5088 GB, free: 11.16 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.849/3.757, allocations: 0 / 0.5088 GB, free: 11.16 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat does not exist to compare? outputFormat=mat