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.001047/0.001047, allocations: 177.8 kB / 17.06 MB, free: 5.094 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.407/1.407, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000867/0.0008672, allocations: 105.8 kB / 292.1 MB, free: 10.92 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.3947/0.3947, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004172/0.0004173, allocations: 8 kB / 460 MB, free: 1.426 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3832, allocations: 61.9 MB / 0.5096 GB, free: 38.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1218/0.505, allocations: 88.21 MB / 0.5958 GB, free: 6.914 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/0.5053, allocations: 79.91 kB / 0.5959 GB, free: 6.844 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008973/0.5143, allocations: 2.932 MB / 0.5987 GB, free: 3.898 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.5144, allocations: 7.938 kB / 0.5987 GB, free: 3.891 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.5144, allocations: 4 kB / 0.5987 GB, free: 3.887 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.0007239/0.5151, allocations: 438.9 kB / 0.5992 GB, free: 3.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.5152, allocations: 12.03 kB / 0.5992 GB, free: 3.398 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.021e-05/0.5152, allocations: 34.56 kB / 0.5992 GB, free: 3.355 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.5153, allocations: 15.81 kB / 0.5992 GB, free: 3.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.5155, allocations: 183.1 kB / 0.5994 GB, free: 3.121 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.5155, allocations: 15.86 kB / 0.5994 GB, free: 3.105 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.5156, allocations: 4 kB / 0.5994 GB, free: 3.102 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.5159, allocations: 141.4 kB / 0.5995 GB, free: 2.949 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.5159, allocations: 3.938 kB / 0.5995 GB, free: 2.945 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.516, allocations: 8 kB / 0.5996 GB, free: 2.938 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.516, allocations: 0 / 0.5996 GB, free: 2.938 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003448/0.5163, allocations: 103.9 kB / 0.5996 GB, free: 2.836 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008944/0.5172, allocations: 467.4 kB / 0.6001 GB, free: 2.324 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.5176, allocations: 94.52 kB / 0.6002 GB, free: 2.223 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.5176, allocations: 0 / 0.6002 GB, free: 2.223 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.5176, allocations: 34.56 kB / 0.6002 GB, free: 2.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.5176, allocations: 0 / 0.6002 GB, free: 2.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.001444/0.5191, allocations: 373.1 kB / 0.6006 GB, free: 1.809 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.227e-05/0.5192, allocations: 106.8 kB / 0.6007 GB, free: 1.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.5193, allocations: 135.4 kB / 0.6008 GB, free: 1.543 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.5193, allocations: 25.7 kB / 0.6008 GB, free: 1.512 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.857e-05/0.5194, allocations: 116.1 kB / 0.6009 GB, free: 1.391 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.5194, allocations: 19.64 kB / 0.601 GB, free: 1.371 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.5195, allocations: 15.88 kB / 0.601 GB, free: 1.355 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.5196, allocations: 314.8 kB / 0.6013 GB, free: 1.039 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/0.5198, allocations: 71.94 kB / 0.6013 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.5201, allocations: 104.2 kB / 0.6014 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.5203, allocations: 75.98 kB / 0.6015 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.5204, allocations: 0 / 0.6015 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005129/0.5209, allocations: 193.4 kB / 0.6017 GB, free: 0.582 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.5209, allocations: 8.141 kB / 0.6017 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.5209, allocations: 0 / 0.6017 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.5209, allocations: 3.938 kB / 0.6017 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006328/0.5216, allocations: 103.9 kB / 0.6018 GB, free: 480 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.5229, allocations: 1.382 MB / 0.6032 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.5232, allocations: 32.25 kB / 0.6032 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.5232, allocations: 4 kB / 0.6032 GB, free: 14.92 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.0001145/0.5233, allocations: 117.8 kB / 0.6033 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.5234, allocations: 15.84 kB / 0.6033 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005187/0.5239, allocations: 194.3 kB / 0.6035 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.5239, allocations: 288 / 0.6035 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.5239, allocations: 0 / 0.6035 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.5239, allocations: 0 / 0.6035 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007884/0.5247, allocations: 490.3 kB / 0.604 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5247, allocations: 0 / 0.604 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.5249, allocations: 35.97 kB / 0.604 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5249, allocations: 0 / 0.604 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.5249, allocations: 0 / 0.604 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.5249, allocations: 4 kB / 0.604 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.5249, allocations: 0 / 0.604 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005121/0.5255, allocations: 267.4 kB / 0.6043 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.542e-05/0.5255, allocations: 88.97 kB / 0.6044 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.5255, allocations: 0 / 0.6044 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.5258, allocations: 36.03 kB / 0.6044 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.5258, allocations: 15.92 kB / 0.6044 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.5258, allocations: 0 / 0.6044 GB, free: 13.58 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.586e-05/0.5259, allocations: 117.5 kB / 0.6045 GB, free: 13.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5259, allocations: 0 / 0.6045 GB, free: 13.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002524/0.5262, allocations: 24 kB / 0.6045 GB, free: 13.44 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.0008931/0.5271, allocations: 0.8138 MB / 0.6053 GB, free: 12.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009668/0.5281, allocations: 203.9 kB / 0.6055 GB, free: 12.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5281, allocations: 0 / 0.6055 GB, free: 12.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.5283, allocations: 71.88 kB / 0.6056 GB, free: 12.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.5286, allocations: 17.56 kB / 0.6056 GB, free: 12.31 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.5305, allocations: 0.924 MB / 0.6065 GB, free: 11.33 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.5308, allocations: 0.7004 MB / 0.6072 GB, free: 10.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.861e-05/0.5309, allocations: 16.42 kB / 0.6072 GB, free: 10.58 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.436e-05/0.531, allocations: 31.42 kB / 0.6072 GB, free: 10.55 MB / 426.7 MB Notification: Performance of SimCode: time 8.62e-07/0.531, allocations: 0 / 0.6072 GB, free: 10.55 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01334/0.5444, allocations: 2.684 MB / 0.6099 GB, free: 8.059 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/0.5446, allocations: 222.6 kB / 0.6101 GB, free: 7.816 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/2.177, allocations: 0 / 0.6101 GB, free: 7.816 MB / 426.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