Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002003/0.002003, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 221.5 MB / 230.7 MB, free: 7.555 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009934/0.0009933, allocations: 98.09 kB / 281.6 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2061/0.2061, allocations: 44.14 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.286e-05/2.304e-05, allocations: 3.938 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1387, allocations: 61.91 MB / 0.4948 GB, free: 1.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4391/0.5779, allocations: 87.48 MB / 0.5802 GB, free: 8.918 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.5781, allocations: 75.94 kB / 0.5803 GB, free: 8.844 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00905/0.5872, allocations: 2.902 MB / 0.5831 GB, free: 5.945 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.5872, allocations: 0 / 0.5831 GB, free: 5.945 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.5873, allocations: 3.938 kB / 0.5831 GB, free: 5.941 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.0006773/0.5879, allocations: 418.4 kB / 0.5835 GB, free: 5.488 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/0.588, allocations: 15.98 kB / 0.5835 GB, free: 5.473 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.879e-05/0.5881, allocations: 7.906 kB / 0.5835 GB, free: 5.465 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.5883, allocations: 188.1 kB / 0.5837 GB, free: 5.242 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.5883, allocations: 4 kB / 0.5837 GB, free: 5.238 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.5884, allocations: 11.95 kB / 0.5837 GB, free: 5.227 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001391/0.5885, allocations: 47.98 kB / 0.5838 GB, free: 5.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.5887, allocations: 112.1 kB / 0.5839 GB, free: 5.055 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.5888, allocations: 1.625 kB / 0.5839 GB, free: 5.055 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.5888, allocations: 0 / 0.5839 GB, free: 5.055 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.5888, allocations: 0 / 0.5839 GB, free: 5.055 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008997/0.5897, allocations: 432 kB / 0.5843 GB, free: 4.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.5898, allocations: 54.56 kB / 0.5843 GB, free: 4.527 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.598e-05/0.5899, allocations: 20.86 kB / 0.5844 GB, free: 4.504 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.5899, allocations: 0 / 0.5844 GB, free: 4.504 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.5899, allocations: 34.5 kB / 0.5844 GB, free: 4.461 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.5899, allocations: 4 kB / 0.5844 GB, free: 4.457 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007373/0.5907, allocations: 185.4 kB / 0.5846 GB, free: 4.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.029e-05/0.5908, allocations: 102.8 kB / 0.5847 GB, free: 4.145 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.5909, allocations: 134.7 kB / 0.5848 GB, free: 4.008 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.591, allocations: 25.7 kB / 0.5848 GB, free: 3.977 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.42e-05/0.5911, allocations: 112.9 kB / 0.5849 GB, free: 3.859 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.5911, allocations: 23.66 kB / 0.585 GB, free: 3.836 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-06/0.5911, allocations: 4 kB / 0.585 GB, free: 3.832 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.5912, allocations: 318.8 kB / 0.5853 GB, free: 3.512 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.594e-05/0.5913, allocations: 27.94 kB / 0.5853 GB, free: 3.484 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.332e-05/0.5914, allocations: 64.22 kB / 0.5853 GB, free: 3.406 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.204e-05/0.5915, allocations: 31.98 kB / 0.5854 GB, free: 3.375 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.5915, allocations: 4.031 kB / 0.5854 GB, free: 3.371 MB / 394.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002202/0.5917, allocations: 101.5 kB / 0.5855 GB, free: 3.266 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.5917, allocations: 4 kB / 0.5855 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.5917, allocations: 8.062 kB / 0.5855 GB, free: 3.254 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.5918, allocations: 7.891 kB / 0.5855 GB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006989/0.5925, allocations: 91.97 kB / 0.5856 GB, free: 3.156 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.5939, allocations: 1.331 MB / 0.5869 GB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.5941, allocations: 28 kB / 0.5869 GB, free: 1.684 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.5941, allocations: 4 kB / 0.5869 GB, free: 1.68 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.0001087/0.5943, allocations: 113 kB / 0.587 GB, free: 1.562 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001528/0.5944, allocations: 85.59 kB / 0.5871 GB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.5945, allocations: 15.77 kB / 0.5871 GB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.5947, allocations: 90.28 kB / 0.5872 GB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.5947, allocations: 4 kB / 0.5872 GB, free: 1.355 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.5947, allocations: 0 / 0.5872 GB, free: 1.355 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.5947, allocations: 0 / 0.5872 GB, free: 1.355 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000496/0.5952, allocations: 367 kB / 0.5876 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.5952, allocations: 0 / 0.5876 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.5954, allocations: 35.92 kB / 0.5876 GB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.5954, allocations: 0 / 0.5876 GB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.5954, allocations: 4 kB / 0.5876 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.5954, allocations: 0 / 0.5876 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.5954, allocations: 0 / 0.5876 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.5957, allocations: 183.4 kB / 0.5878 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.959e-05/0.5957, allocations: 89.14 kB / 0.5879 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.5958, allocations: 7.938 kB / 0.5879 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.596, allocations: 31.97 kB / 0.5879 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.5961, allocations: 7.984 kB / 0.5879 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.5961, allocations: 0 / 0.5879 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.011e-05/0.5962, allocations: 109.3 kB / 0.588 GB, free: 472 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5962, allocations: 0 / 0.588 GB, free: 472 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002688/0.5964, allocations: 24 kB / 0.588 GB, free: 448 kB / 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.0005729/0.597, allocations: 0.7201 MB / 0.5887 GB, free: 15.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005642/0.5976, allocations: 107.9 kB / 0.5888 GB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5976, allocations: 0 / 0.5888 GB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.419e-05/0.5977, allocations: 31.94 kB / 0.5889 GB, free: 15.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.5979, allocations: 13.42 kB / 0.5889 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.5992, allocations: 314 kB / 0.5892 GB, free: 15.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.5995, allocations: 0.708 MB / 0.5899 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.7e-05/0.5996, allocations: 8.438 kB / 0.5899 GB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.94e-05/0.5997, allocations: 35.42 kB / 0.5899 GB, free: 14.42 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5997, allocations: 0 / 0.5899 GB, free: 14.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.6223, allocations: 2.186 MB / 0.592 GB, free: 12.25 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/0.6226, allocations: 153.5 kB / 0.5922 GB, free: 12.06 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.522/2.145, allocations: 3.938 kB / 0.5922 GB, free: 12.05 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat does not exist to compare? outputFormat=mat