Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001103/0.001103, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.2 MB / 245 MB, free: 5.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009282/0.0009282, allocations: 113.9 kB / 297.3 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3973/0.3973, allocations: 45.24 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000291/0.000291, allocations: 8.219 kB / 468.5 MB, free: 7.602 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3373, allocations: 63.24 MB / 0.5193 GB, free: 37.49 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1173/0.4547, allocations: 89.28 MB / 0.6065 GB, free: 14.15 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/0.4549, allocations: 75.92 kB / 0.6065 GB, free: 14.08 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00883/0.4637, allocations: 2.999 MB / 0.6095 GB, free: 11.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4638, allocations: 0 / 0.6095 GB, free: 11.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.4638, allocations: 0 / 0.6095 GB, free: 11.07 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006428/0.4644, allocations: 443 kB / 0.6099 GB, free: 10.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.4645, allocations: 8.031 kB / 0.6099 GB, free: 10.58 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.517e-05/0.4645, allocations: 38.56 kB / 0.6099 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002973/0.4648, allocations: 47.78 kB / 0.61 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.465, allocations: 193.5 kB / 0.6102 GB, free: 10.26 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.465, allocations: 4.188 kB / 0.6102 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.465, allocations: 11.94 kB / 0.6102 GB, free: 10.24 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.4654, allocations: 140.2 kB / 0.6103 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.4654, allocations: 0 / 0.6103 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.4654, allocations: 0 / 0.6103 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.4654, allocations: 4 kB / 0.6103 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003306/0.4658, allocations: 107.9 kB / 0.6104 GB, free: 9.98 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008174/0.4666, allocations: 457.2 kB / 0.6108 GB, free: 9.477 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003263/0.4669, allocations: 106.5 kB / 0.6109 GB, free: 9.363 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.467, allocations: 0 / 0.6109 GB, free: 9.363 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.467, allocations: 30.56 kB / 0.611 GB, free: 9.324 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.467, allocations: 3.938 kB / 0.611 GB, free: 9.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.001435/0.4684, allocations: 365.5 kB / 0.6113 GB, free: 8.957 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.4685, allocations: 102.8 kB / 0.6114 GB, free: 8.832 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.4686, allocations: 135.2 kB / 0.6116 GB, free: 8.695 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.4687, allocations: 29.7 kB / 0.6116 GB, free: 8.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.99e-05/0.4688, allocations: 116 kB / 0.6117 GB, free: 8.539 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.4688, allocations: 19.75 kB / 0.6117 GB, free: 8.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-06/0.4688, allocations: 0 / 0.6117 GB, free: 8.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.4689, allocations: 326.8 kB / 0.612 GB, free: 8.191 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/0.4692, allocations: 71.94 kB / 0.6121 GB, free: 8.121 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.4694, allocations: 112.2 kB / 0.6122 GB, free: 7.996 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/0.4698, allocations: 71.92 kB / 0.6123 GB, free: 7.926 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4698, allocations: 0 / 0.6123 GB, free: 7.926 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005798/0.4704, allocations: 197.4 kB / 0.6125 GB, free: 7.727 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.4704, allocations: 4 kB / 0.6125 GB, free: 7.723 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.4704, allocations: 4 kB / 0.6125 GB, free: 7.719 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.4704, allocations: 0 / 0.6125 GB, free: 7.719 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006796/0.4711, allocations: 95.95 kB / 0.6126 GB, free: 7.625 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.4726, allocations: 1.393 MB / 0.6139 GB, free: 6.094 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002998/0.4729, allocations: 32.25 kB / 0.6139 GB, free: 6.062 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.4729, allocations: 4 kB / 0.614 GB, free: 6.059 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001298/0.473, allocations: 121.8 kB / 0.6141 GB, free: 5.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-05/0.4731, allocations: 11.91 kB / 0.6141 GB, free: 5.918 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006537/0.4738, allocations: 186.3 kB / 0.6143 GB, free: 5.734 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.4738, allocations: 4 kB / 0.6143 GB, free: 5.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.4738, allocations: 4 kB / 0.6143 GB, free: 5.727 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.4738, allocations: 0 / 0.6143 GB, free: 5.727 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.4749, allocations: 478.3 kB / 0.6147 GB, free: 5.203 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.4749, allocations: 4 kB / 0.6147 GB, free: 5.199 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/0.4751, allocations: 35.97 kB / 0.6148 GB, free: 5.164 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.4752, allocations: 0 / 0.6148 GB, free: 5.164 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.4752, allocations: 4 kB / 0.6148 GB, free: 5.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.4752, allocations: 0 / 0.6148 GB, free: 5.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.4752, allocations: 3.938 kB / 0.6148 GB, free: 5.156 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006376/0.4758, allocations: 279.3 kB / 0.615 GB, free: 4.867 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.4759, allocations: 81.02 kB / 0.6151 GB, free: 4.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.4759, allocations: 7.938 kB / 0.6151 GB, free: 4.762 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.4762, allocations: 27.97 kB / 0.6151 GB, free: 4.734 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.196e-05/0.4763, allocations: 11.98 kB / 0.6152 GB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.4763, allocations: 4 kB / 0.6152 GB, free: 4.719 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.572e-05/0.4764, allocations: 108.8 kB / 0.6153 GB, free: 4.613 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4764, allocations: 4 kB / 0.6153 GB, free: 4.609 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003058/0.4767, allocations: 31.95 kB / 0.6153 GB, free: 4.578 MB / 426.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 (7): * Single equations (assignments): 7 * 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.0008654/0.4775, allocations: 0.8021 MB / 0.6161 GB, free: 3.746 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000944/0.4785, allocations: 195.9 kB / 0.6163 GB, free: 3.555 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.4785, allocations: 8 kB / 0.6163 GB, free: 3.547 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002499/0.4788, allocations: 71.94 kB / 0.6163 GB, free: 3.477 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.479, allocations: 12.12 kB / 0.6164 GB, free: 3.465 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.4809, allocations: 0.9357 MB / 0.6173 GB, free: 2.469 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.4811, allocations: 0.7004 MB / 0.618 GB, free: 1.742 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.566e-05/0.4812, allocations: 20.41 kB / 0.618 GB, free: 1.723 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.067e-05/0.4813, allocations: 31.42 kB / 0.618 GB, free: 1.691 MB / 426.7 MB Notification: Performance of SimCode: time 6.72e-07/0.4813, allocations: 0 / 0.618 GB, free: 1.691 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01425/0.4956, allocations: 2.676 MB / 0.6206 GB, free: 15.2 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/0.4958, allocations: 213.3 kB / 0.6208 GB, free: 14.96 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/2.077, allocations: 3.938 kB / 0.6208 GB, free: 14.95 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat does not exist to compare? outputFormat=mat