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.001373/0.001373, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.299/1.299, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008561/0.0008562, allocations: 87.77 kB / 292.1 MB, free: 5.953 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1851/0.1851, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.402e-05/3.405e-05, allocations: 0 / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09755/0.09761, allocations: 63.25 MB / 0.5115 GB, free: 6.695 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3466/0.4442, allocations: 89.21 MB / 0.5986 GB, free: 4.605 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001858/0.4445, allocations: 72.91 kB / 0.5986 GB, free: 4.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008852/0.4533, allocations: 2.986 MB / 0.6016 GB, free: 2.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4534, allocations: 0 / 0.6016 GB, free: 2.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.4534, allocations: 4 kB / 0.6016 GB, free: 2.016 MB / 394.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.0005765/0.454, allocations: 422.5 kB / 0.602 GB, free: 1.566 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.454, allocations: 15.95 kB / 0.602 GB, free: 1.551 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.497e-05/0.4541, allocations: 38.12 kB / 0.602 GB, free: 1.508 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002764/0.4543, allocations: 35.88 kB / 0.602 GB, free: 1.473 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.4545, allocations: 195.1 kB / 0.6022 GB, free: 1.246 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.4545, allocations: 8 kB / 0.6022 GB, free: 1.238 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.4546, allocations: 7.188 kB / 0.6022 GB, free: 1.234 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.4548, allocations: 117.5 kB / 0.6024 GB, free: 1.129 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.4548, allocations: 0 / 0.6024 GB, free: 1.129 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.4548, allocations: 7.938 kB / 0.6024 GB, free: 1.125 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.4548, allocations: 0 / 0.6024 GB, free: 1.125 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.4549, allocations: 54.36 kB / 0.6024 GB, free: 1.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007649/0.4557, allocations: 465.8 kB / 0.6029 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.4558, allocations: 59.5 kB / 0.6029 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.969e-05/0.4559, allocations: 19.39 kB / 0.6029 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.4559, allocations: 3.984 kB / 0.6029 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.4559, allocations: 42.5 kB / 0.603 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.4559, allocations: 0 / 0.603 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006734/0.4566, allocations: 191 kB / 0.6032 GB, free: 352 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.4567, allocations: 110.8 kB / 0.6033 GB, free: 220 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.4568, allocations: 129.4 kB / 0.6034 GB, free: 96 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.4568, allocations: 25.7 kB / 0.6034 GB, free: 64 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.133e-05/0.4569, allocations: 115 kB / 0.6035 GB, free: 15.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.4569, allocations: 23.14 kB / 0.6036 GB, free: 15.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.4569, allocations: 7.938 kB / 0.6036 GB, free: 15.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.983e-05/0.457, allocations: 322.7 kB / 0.6039 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.355e-05/0.4571, allocations: 26.25 kB / 0.6039 GB, free: 15.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.835e-05/0.4572, allocations: 62.34 kB / 0.604 GB, free: 15.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.151e-05/0.4572, allocations: 34.14 kB / 0.604 GB, free: 15.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4573, allocations: 0 / 0.604 GB, free: 15.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001846/0.4574, allocations: 106.3 kB / 0.6041 GB, free: 15.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.4575, allocations: 8 kB / 0.6041 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.4575, allocations: 0 / 0.6041 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.4575, allocations: 0 / 0.6041 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005764/0.4581, allocations: 99.53 kB / 0.6042 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.4593, allocations: 1.379 MB / 0.6055 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.4595, allocations: 31.5 kB / 0.6056 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.4595, allocations: 4.125 kB / 0.6056 GB, free: 13.8 MB / 410.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 () * 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 8.041e-05/0.4596, allocations: 122.2 kB / 0.6057 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.4596, allocations: 7.906 kB / 0.6057 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.4598, allocations: 110.6 kB / 0.6058 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.4598, allocations: 0 / 0.6058 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.4598, allocations: 0 / 0.6058 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.4598, allocations: 0 / 0.6058 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004449/0.4603, allocations: 410.7 kB / 0.6062 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.4603, allocations: 0 / 0.6062 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.4605, allocations: 31.97 kB / 0.6062 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.4605, allocations: 4 kB / 0.6062 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.4605, allocations: 192 / 0.6062 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4605, allocations: 0 / 0.6062 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4605, allocations: 3.938 kB / 0.6062 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.4607, allocations: 186.7 kB / 0.6064 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/0.4607, allocations: 92.88 kB / 0.6065 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.4608, allocations: 0 / 0.6065 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.461, allocations: 31.97 kB / 0.6065 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.4611, allocations: 7.938 kB / 0.6065 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.4611, allocations: 3.812 kB / 0.6065 GB, free: 12.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.225e-05/0.4611, allocations: 114.9 kB / 0.6066 GB, free: 12.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4612, allocations: 0 / 0.6066 GB, free: 12.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000244/0.4614, allocations: 31.19 kB / 0.6067 GB, free: 12.68 MB / 410.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 () * 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.0004253/0.4618, allocations: 0.7214 MB / 0.6074 GB, free: 11.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005496/0.4624, allocations: 118.1 kB / 0.6075 GB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4624, allocations: 0 / 0.6075 GB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.469e-05/0.4625, allocations: 34.56 kB / 0.6075 GB, free: 11.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.4627, allocations: 11.36 kB / 0.6075 GB, free: 11.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.4638, allocations: 309.4 kB / 0.6078 GB, free: 11.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.4641, allocations: 0.7082 MB / 0.6085 GB, free: 10.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.411e-05/0.4642, allocations: 12.42 kB / 0.6085 GB, free: 10.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.818e-05/0.4643, allocations: 32.67 kB / 0.6086 GB, free: 10.74 MB / 410.7 MB Notification: Performance of SimCode: time 3.4e-07/0.4643, allocations: 0 / 0.6086 GB, free: 10.74 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01337/0.4776, allocations: 2.679 MB / 0.6112 GB, free: 8.242 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/0.4779, allocations: 200.4 kB / 0.6114 GB, free: 8.008 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.462/1.94, allocations: 0 / 0.6114 GB, free: 8.008 MB / 410.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