Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000955/0.0009551, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.293/1.293, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007945/0.0007944, allocations: 81.42 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003007/0.0003008, allocations: 12 kB / 327.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2162, allocations: 47.58 MB / 375.2 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.0015/0.2177, allocations: 1.66 MB / 376.9 MB, free: 44.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006423/0.2184, allocations: 0.5762 MB / 377.4 MB, free: 43.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.435e-05/0.2184, allocations: 2.406 kB / 377.4 MB, free: 43.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.2185, allocations: 13.31 kB / 377.4 MB, free: 43.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.2186, allocations: 40.31 kB / 377.5 MB, free: 43.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.2189, allocations: 77.81 kB / 377.6 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.219, allocations: 159 kB / 377.7 MB, free: 43.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.2192, allocations: 48.17 kB / 377.8 MB, free: 43.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.2193, allocations: 69.89 kB / 377.8 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.379e-05/0.2194, allocations: 62 kB / 377.9 MB, free: 43.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.2194, allocations: 8.125 kB / 377.9 MB, free: 43.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.711e-05/0.2195, allocations: 8.219 kB / 377.9 MB, free: 43.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.627e-05/0.2195, allocations: 28.25 kB / 377.9 MB, free: 43.31 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.845e-05/0.2196, allocations: 95.31 kB / 378 MB, free: 43.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.2197, allocations: 131.4 kB / 378.2 MB, free: 43.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2197, allocations: 0 / 378.2 MB, free: 43.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2197, allocations: 1.344 kB / 378.2 MB, free: 43.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.2197, allocations: 0 / 378.2 MB, free: 43.14 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005637/0.2203, allocations: 447.7 kB / 378.6 MB, free: 42.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.2203, allocations: 9.312 kB / 378.6 MB, free: 42.71 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.421e-05/0.2204, allocations: 41.92 kB / 378.6 MB, free: 42.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.2204, allocations: 13.31 kB / 378.7 MB, free: 42.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.2205, allocations: 198.8 kB / 378.9 MB, free: 42.44 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.2206, allocations: 8.469 kB / 378.9 MB, free: 42.44 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.2206, allocations: 10.34 kB / 378.9 MB, free: 42.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.2209, allocations: 159.6 kB / 379 MB, free: 42.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.2209, allocations: 0 / 379 MB, free: 42.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.2209, allocations: 5.375 kB / 379 MB, free: 42.31 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.2209, allocations: 5.875 kB / 379 MB, free: 42.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002594/0.2212, allocations: 99.62 kB / 379.1 MB, free: 42.26 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007333/0.2219, allocations: 0.5103 MB / 379.6 MB, free: 41.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.2222, allocations: 107 kB / 379.8 MB, free: 41.72 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.2224, allocations: 71.95 kB / 379.8 MB, free: 41.69 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.2224, allocations: 5.422 kB / 379.8 MB, free: 41.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.286e-05/0.2224, allocations: 35.69 kB / 379.9 MB, free: 41.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.2225, allocations: 0 / 379.9 MB, free: 41.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004168/0.2229, allocations: 149.6 kB / 380 MB, free: 41.56 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.2229, allocations: 104.2 kB / 380.1 MB, free: 41.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.988e-05/0.223, allocations: 160.1 kB / 380.3 MB, free: 41.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.223, allocations: 26.77 kB / 380.3 MB, free: 41.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/0.2231, allocations: 122.2 kB / 380.4 MB, free: 41.15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.2231, allocations: 27.62 kB / 380.4 MB, free: 41.13 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-06/0.2231, allocations: 4 kB / 380.4 MB, free: 41.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.891e-05/0.2232, allocations: 321.8 kB / 380.8 MB, free: 40.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.2233, allocations: 39.22 kB / 380.8 MB, free: 40.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.2234, allocations: 81.83 kB / 380.9 MB, free: 40.72 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/0.2237, allocations: 103.5 kB / 381 MB, free: 40.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2237, allocations: 0 / 381 MB, free: 40.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003044/0.224, allocations: 156.2 kB / 381.1 MB, free: 40.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.224, allocations: 9.703 kB / 381.1 MB, free: 40.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.224, allocations: 5.5 kB / 381.1 MB, free: 40.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.224, allocations: 1.375 kB / 381.1 MB, free: 40.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005422/0.2246, allocations: 83.7 kB / 381.2 MB, free: 40.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009786/0.2256, allocations: 1.409 MB / 382.6 MB, free: 39.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.2258, allocations: 24.89 kB / 382.7 MB, free: 39.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.2258, allocations: 3.844 kB / 382.7 MB, free: 39.07 MB / 298.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 (11): * Single equations (assignments): 10 * 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 7.332e-05/0.2259, allocations: 129.2 kB / 382.8 MB, free: 38.94 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.2259, allocations: 13.22 kB / 382.8 MB, free: 38.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000409/0.2263, allocations: 162.1 kB / 383 MB, free: 38.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2263, allocations: 1 kB / 383 MB, free: 38.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.2263, allocations: 0 / 383 MB, free: 38.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2263, allocations: 5.047 kB / 383 MB, free: 38.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005947/0.2269, allocations: 470.6 kB / 383.4 MB, free: 38.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.227, allocations: 0 / 383.4 MB, free: 38.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.2271, allocations: 26.2 kB / 383.5 MB, free: 38.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002221/0.2273, allocations: 45.03 kB / 383.5 MB, free: 38.35 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.2273, allocations: 5.469 kB / 383.5 MB, free: 38.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006548/0.228, allocations: 1.292 MB / 384.8 MB, free: 37.01 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.228, allocations: 1.469 kB / 384.8 MB, free: 37.01 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005054/0.2285, allocations: 309.5 kB / 385.1 MB, free: 36.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/0.2286, allocations: 97.27 kB / 385.2 MB, free: 36.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.2286, allocations: 5.188 kB / 385.2 MB, free: 36.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.2288, allocations: 15.55 kB / 385.2 MB, free: 36.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.2288, allocations: 7.266 kB / 385.2 MB, free: 36.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.2288, allocations: 6.375 kB / 385.2 MB, free: 36.65 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.276e-05/0.2289, allocations: 121.6 kB / 385.3 MB, free: 36.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2289, allocations: 4 kB / 385.3 MB, free: 36.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002688/0.2292, allocations: 36 kB / 385.4 MB, free: 36.54 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * 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): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006704/0.2298, allocations: 0.8275 MB / 386.2 MB, free: 35.79 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006115/0.2305, allocations: 140.1 kB / 386.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2305, allocations: 1.062 kB / 386.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002602/0.2307, allocations: 169.3 kB / 386.5 MB, free: 35.6 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.231, allocations: 17.16 kB / 386.5 MB, free: 35.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.2331, allocations: 1.167 MB / 387.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.2332, allocations: 0.7174 MB / 388.4 MB, free: 34.03 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.916e-05/0.2333, allocations: 45.2 kB / 388.5 MB, free: 33.99 MB / 298.7 MB Notification: Performance of SimCode: time 3.31e-07/0.2333, allocations: 0 / 388.5 MB, free: 33.99 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.715/2.948, allocations: 2.576 MB / 391 MB, free: 32.02 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor_fmu --startTime=0 --stopTime=6.2832 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches