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.001367/0.001367, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 221.4 MB / 236 MB, free: 2.957 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.0008808/0.0008807, allocations: 99.48 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2465/0.2465, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.414e-05/3.417e-05, allocations: 8.156 kB / 451.9 MB, free: 9.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1406, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4702/0.6108, allocations: 88.13 MB / 0.5879 GB, free: 1.105 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.6111, allocations: 67.97 kB / 0.5879 GB, free: 1.039 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008868/0.62, allocations: 2.938 MB / 0.5908 GB, free: 14.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.467e-06/0.62, allocations: 0 / 0.5908 GB, free: 14.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.6201, allocations: 7.828 kB / 0.5908 GB, free: 14.1 MB / 410.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.0006377/0.6207, allocations: 414.3 kB / 0.5912 GB, free: 13.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.6208, allocations: 12.03 kB / 0.5912 GB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.842e-05/0.6208, allocations: 34.56 kB / 0.5912 GB, free: 13.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.6209, allocations: 11.91 kB / 0.5913 GB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.6211, allocations: 191.9 kB / 0.5914 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.6211, allocations: 12.14 kB / 0.5915 GB, free: 13.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.6211, allocations: 7.938 kB / 0.5915 GB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.6214, allocations: 117.4 kB / 0.5916 GB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.6214, allocations: 0 / 0.5916 GB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.6214, allocations: 4 kB / 0.5916 GB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.6214, allocations: 0 / 0.5916 GB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.6216, allocations: 55.98 kB / 0.5916 GB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008756/0.6224, allocations: 463.4 kB / 0.5921 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.6226, allocations: 62.5 kB / 0.5921 GB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.354e-05/0.6226, allocations: 16.86 kB / 0.5921 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.6227, allocations: 0 / 0.5921 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.6227, allocations: 38.59 kB / 0.5922 GB, free: 12.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.6227, allocations: 0 / 0.5922 GB, free: 12.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007366/0.6234, allocations: 193.3 kB / 0.5924 GB, free: 12.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.6235, allocations: 102.8 kB / 0.5925 GB, free: 12.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.6237, allocations: 138.6 kB / 0.5926 GB, free: 12.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.6237, allocations: 29.7 kB / 0.5926 GB, free: 12.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.695e-05/0.6238, allocations: 108.1 kB / 0.5927 GB, free: 11.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.6238, allocations: 27.66 kB / 0.5928 GB, free: 11.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-06/0.6238, allocations: 0 / 0.5928 GB, free: 11.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.624, allocations: 326.8 kB / 0.5931 GB, free: 11.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.103e-05/0.624, allocations: 28 kB / 0.5931 GB, free: 11.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.6241, allocations: 64.28 kB / 0.5932 GB, free: 11.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.819e-05/0.6242, allocations: 31.95 kB / 0.5932 GB, free: 11.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.6242, allocations: 0 / 0.5932 GB, free: 11.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001966/0.6244, allocations: 117.5 kB / 0.5933 GB, free: 11.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.6245, allocations: 8.172 kB / 0.5933 GB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.6245, allocations: 0 / 0.5933 GB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.6245, allocations: 4.125 kB / 0.5933 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006148/0.6251, allocations: 95.97 kB / 0.5934 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.6265, allocations: 1.382 MB / 0.5948 GB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.6267, allocations: 32 kB / 0.5948 GB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.6267, allocations: 8.109 kB / 0.5948 GB, free: 9.617 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 9.587e-05/0.6268, allocations: 112.9 kB / 0.5949 GB, free: 9.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.6269, allocations: 11.86 kB / 0.5949 GB, free: 9.488 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001751/0.6271, allocations: 102.2 kB / 0.595 GB, free: 9.383 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.6271, allocations: 3.984 kB / 0.595 GB, free: 9.379 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.81e-07/0.6271, allocations: 0 / 0.595 GB, free: 9.379 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.6271, allocations: 4 kB / 0.595 GB, free: 9.375 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004925/0.6276, allocations: 398.4 kB / 0.5954 GB, free: 8.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.6276, allocations: 0 / 0.5954 GB, free: 8.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.6278, allocations: 35.97 kB / 0.5954 GB, free: 8.895 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.6278, allocations: 0 / 0.5954 GB, free: 8.895 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.6278, allocations: 0 / 0.5954 GB, free: 8.895 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.6278, allocations: 0 / 0.5954 GB, free: 8.895 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.6278, allocations: 4.125 kB / 0.5954 GB, free: 8.891 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.6281, allocations: 195.4 kB / 0.5956 GB, free: 8.684 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.231e-05/0.6281, allocations: 88.97 kB / 0.5957 GB, free: 8.578 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.6281, allocations: 0 / 0.5957 GB, free: 8.578 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.6284, allocations: 35.97 kB / 0.5957 GB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.6284, allocations: 7.984 kB / 0.5957 GB, free: 8.535 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.6284, allocations: 0 / 0.5957 GB, free: 8.535 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.154e-05/0.6285, allocations: 114 kB / 0.5959 GB, free: 8.426 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6285, allocations: 4 kB / 0.5959 GB, free: 8.422 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002423/0.6288, allocations: 24 kB / 0.5959 GB, free: 8.398 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.0004888/0.6293, allocations: 0.7201 MB / 0.5966 GB, free: 7.652 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005806/0.6299, allocations: 116.3 kB / 0.5967 GB, free: 7.539 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.6299, allocations: 0 / 0.5967 GB, free: 7.539 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.587e-05/0.63, allocations: 31.94 kB / 0.5967 GB, free: 7.508 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.6302, allocations: 9.219 kB / 0.5967 GB, free: 7.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.6314, allocations: 324 kB / 0.597 GB, free: 7.145 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.6317, allocations: 0.7043 MB / 0.5977 GB, free: 6.414 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.476e-05/0.6318, allocations: 12.42 kB / 0.5977 GB, free: 6.398 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.784e-05/0.6319, allocations: 31.42 kB / 0.5978 GB, free: 6.371 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6319, allocations: 0 / 0.5978 GB, free: 6.371 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01469/0.6466, allocations: 2.704 MB / 0.6004 GB, free: 3.812 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/0.6468, allocations: 184.7 kB / 0.6006 GB, free: 3.594 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.685/2.332, allocations: 0 / 0.6006 GB, free: 3.594 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