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.001735/0.001735, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008674/0.0008674, allocations: 94.73 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2547/0.2547, allocations: 45.15 MB / 383.8 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.937e-05/1.95e-05, allocations: 4 kB / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1202, allocations: 63.26 MB / 0.5045 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4544/0.5746, allocations: 88.53 MB / 0.5909 GB, free: 13.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/0.5749, allocations: 79.25 kB / 0.591 GB, free: 13.62 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009307/0.5842, allocations: 2.951 MB / 0.5939 GB, free: 11.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.5843, allocations: 0 / 0.5939 GB, free: 11.13 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.5843, allocations: 3.438 kB / 0.5939 GB, free: 11.13 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.00075/0.585, allocations: 437.7 kB / 0.5943 GB, free: 10.67 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/0.5851, allocations: 11.97 kB / 0.5943 GB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003532/0.5855, allocations: 39.89 kB / 0.5943 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.5857, allocations: 187.7 kB / 0.5945 GB, free: 10.4 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.5858, allocations: 4 kB / 0.5945 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.5858, allocations: 4 kB / 0.5945 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001528/0.586, allocations: 55.11 kB / 0.5946 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.5862, allocations: 108.4 kB / 0.5947 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.5862, allocations: 0 / 0.5947 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.5862, allocations: 0 / 0.5947 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.5862, allocations: 4 kB / 0.5947 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00088/0.5871, allocations: 430.2 kB / 0.5951 GB, free: 9.832 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.5872, allocations: 52.62 kB / 0.5952 GB, free: 9.785 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.129e-05/0.5873, allocations: 22.75 kB / 0.5952 GB, free: 9.766 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.5873, allocations: 4 kB / 0.5952 GB, free: 9.762 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.5874, allocations: 34.5 kB / 0.5952 GB, free: 9.719 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.285e-06/0.5874, allocations: 4 kB / 0.5952 GB, free: 9.715 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007497/0.5881, allocations: 179.8 kB / 0.5954 GB, free: 9.559 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.163e-05/0.5882, allocations: 106.2 kB / 0.5955 GB, free: 9.434 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.5884, allocations: 129.9 kB / 0.5956 GB, free: 9.312 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.5884, allocations: 25.7 kB / 0.5956 GB, free: 9.281 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.548e-05/0.5885, allocations: 110.7 kB / 0.5957 GB, free: 9.176 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.5885, allocations: 22.58 kB / 0.5958 GB, free: 9.156 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-06/0.5885, allocations: 0 / 0.5958 GB, free: 9.156 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.5887, allocations: 322.2 kB / 0.5961 GB, free: 8.836 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.673e-05/0.5887, allocations: 22.94 kB / 0.5961 GB, free: 8.824 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.516e-05/0.5888, allocations: 70.22 kB / 0.5962 GB, free: 8.754 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.709e-05/0.5889, allocations: 28.05 kB / 0.5962 GB, free: 8.738 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.5889, allocations: 0 / 0.5962 GB, free: 8.738 MB / 394.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001975/0.5891, allocations: 106.4 kB / 0.5963 GB, free: 8.648 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.5891, allocations: 8 kB / 0.5963 GB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.5891, allocations: 0 / 0.5963 GB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.5892, allocations: 0 / 0.5963 GB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005987/0.5898, allocations: 95.69 kB / 0.5964 GB, free: 8.551 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.5911, allocations: 1.324 MB / 0.5977 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.5914, allocations: 36.16 kB / 0.5977 GB, free: 7.109 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.5914, allocations: 7.484 kB / 0.5977 GB, free: 7.105 MB / 394.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 0.000116/0.5915, allocations: 112.9 kB / 0.5978 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001599/0.5917, allocations: 83.42 kB / 0.5979 GB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.22e-05/0.5918, allocations: 8.047 kB / 0.5979 GB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001856/0.592, allocations: 116 kB / 0.598 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.592, allocations: 4 kB / 0.598 GB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.592, allocations: 0 / 0.598 GB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.592, allocations: 3.938 kB / 0.598 GB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000506/0.5925, allocations: 361.2 kB / 0.5984 GB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5925, allocations: 0 / 0.5984 GB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.5927, allocations: 35.97 kB / 0.5984 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.5927, allocations: 0 / 0.5984 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.5927, allocations: 0 / 0.5984 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.5928, allocations: 0 / 0.5984 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5928, allocations: 0 / 0.5984 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.593, allocations: 193.4 kB / 0.5986 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/0.593, allocations: 84.52 kB / 0.5987 GB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.5931, allocations: 0 / 0.5987 GB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.5933, allocations: 31.97 kB / 0.5987 GB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.5934, allocations: 7.984 kB / 0.5987 GB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.5934, allocations: 4 kB / 0.5987 GB, free: 6.082 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.434e-05/0.5935, allocations: 105.8 kB / 0.5988 GB, free: 5.988 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5935, allocations: 0 / 0.5988 GB, free: 5.988 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002808/0.5938, allocations: 28 kB / 0.5988 GB, free: 5.961 MB / 394.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.0004979/0.5943, allocations: 0.7105 MB / 0.5995 GB, free: 5.242 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000566/0.5949, allocations: 116.6 kB / 0.5997 GB, free: 5.152 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5949, allocations: 3.938 kB / 0.5997 GB, free: 5.148 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.526e-05/0.5949, allocations: 37.8 kB / 0.5997 GB, free: 5.121 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.5952, allocations: 7.875 kB / 0.5997 GB, free: 5.117 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.5965, allocations: 304.7 kB / 0.6 GB, free: 4.793 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.5968, allocations: 0.7041 MB / 0.6007 GB, free: 4.062 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.82e-05/0.5969, allocations: 16.42 kB / 0.6007 GB, free: 4.047 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.022e-05/0.597, allocations: 32.92 kB / 0.6007 GB, free: 4.031 MB / 394.7 MB Notification: Performance of SimCode: time 5.71e-07/0.597, allocations: 0 / 0.6007 GB, free: 4.031 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02274/0.6197, allocations: 2.189 MB / 0.6029 GB, free: 1.863 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/0.62, allocations: 149.4 kB / 0.603 GB, free: 1.676 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.612/2.232, allocations: 0 / 0.603 GB, free: 1.676 MB / 394.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