Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008123/0.0008124, allocations: 91.12 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009833/0.0009833, allocations: 203.8 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.217/1.217, allocations: 227.7 MB / 246.8 MB, free: 9.617 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001821/0.0001822, allocations: 7.984 kB / 307.8 MB, free: 0.5195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08189/0.08209, allocations: 51.53 MB / 359.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002035/0.08417, allocations: 1.761 MB / 361.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008798/0.08506, allocations: 0.639 MB / 361.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.32e-05/0.08514, allocations: 0 / 361.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.511e-05/0.08518, allocations: 11.91 kB / 361.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.08532, allocations: 39.7 kB / 361.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.08563, allocations: 95.81 kB / 361.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.08582, allocations: 171.3 kB / 362.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.08596, allocations: 49.5 kB / 362.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.08613, allocations: 71.7 kB / 362.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.672e-05/0.08624, allocations: 79.61 kB / 362.3 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.08627, allocations: 8 kB / 362.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.264e-05/0.08632, allocations: 12 kB / 362.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.367e-05/0.08635, allocations: 23.91 kB / 362.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.288e-05/0.08643, allocations: 101.3 kB / 362.4 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.08661, allocations: 175.5 kB / 362.6 MB, free: 9.742 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.08662, allocations: 0 / 362.6 MB, free: 9.742 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.08663, allocations: 0 / 362.6 MB, free: 9.742 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.08664, allocations: 0 / 362.6 MB, free: 9.742 MB / 302.1 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.0006077/0.08725, allocations: 454.9 kB / 363 MB, free: 9.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.08729, allocations: 8.031 kB / 363 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.071e-05/0.08733, allocations: 42.73 kB / 363.1 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003518/0.08769, allocations: 64.7 kB / 363.1 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.0879, allocations: 219.3 kB / 363.4 MB, free: 8.879 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.08792, allocations: 8.375 kB / 363.4 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.08795, allocations: 16.31 kB / 363.4 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/0.08825, allocations: 156.2 kB / 363.5 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.08826, allocations: 0 / 363.5 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.08829, allocations: 8 kB / 363.5 MB, free: 8.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.0883, allocations: 4 kB / 363.5 MB, free: 8.676 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.08855, allocations: 95.94 kB / 363.6 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008038/0.08937, allocations: 0.5109 MB / 364.2 MB, free: 8.012 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.08966, allocations: 106.5 kB / 364.3 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.08983, allocations: 68.77 kB / 364.3 MB, free: 7.828 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.08986, allocations: 11.98 kB / 364.3 MB, free: 7.816 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.08989, allocations: 34.5 kB / 364.4 MB, free: 7.773 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.08989, allocations: 0 / 364.4 MB, free: 7.773 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004246/0.09032, allocations: 157.6 kB / 364.5 MB, free: 7.613 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.09039, allocations: 106.8 kB / 364.6 MB, free: 7.484 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.09052, allocations: 159.9 kB / 364.8 MB, free: 7.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.09055, allocations: 29.7 kB / 364.8 MB, free: 7.285 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.191e-05/0.09062, allocations: 115.9 kB / 364.9 MB, free: 7.168 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.09065, allocations: 35.48 kB / 365 MB, free: 7.133 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.09068, allocations: 13.72 kB / 365 MB, free: 7.113 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.09079, allocations: 330.8 kB / 365.3 MB, free: 6.781 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.09092, allocations: 39.97 kB / 365.3 MB, free: 6.742 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.09107, allocations: 80.2 kB / 365.4 MB, free: 6.648 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.09131, allocations: 106.5 kB / 365.5 MB, free: 6.535 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.09133, allocations: 0 / 365.5 MB, free: 6.535 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003121/0.09164, allocations: 153.4 kB / 365.7 MB, free: 6.379 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.09166, allocations: 4 kB / 365.7 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.09167, allocations: 0 / 365.7 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.09168, allocations: 0 / 365.7 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005351/0.09222, allocations: 87.94 kB / 365.8 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.09345, allocations: 1.405 MB / 367.2 MB, free: 4.746 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.09362, allocations: 19.98 kB / 367.2 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.09364, allocations: 4 kB / 367.2 MB, free: 4.723 MB / 302.1 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001/0.09375, allocations: 129.8 kB / 367.3 MB, free: 4.586 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.09379, allocations: 11.91 kB / 367.3 MB, free: 4.574 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004363/0.09423, allocations: 171 kB / 367.5 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.09424, allocations: 0 / 367.5 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.09425, allocations: 0 / 367.5 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.09425, allocations: 0 / 367.5 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006702/0.09493, allocations: 476.4 kB / 368 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.09494, allocations: 0 / 368 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.09508, allocations: 31.98 kB / 368 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002161/0.0953, allocations: 36.75 kB / 368 MB, free: 3.797 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.09533, allocations: 12.03 kB / 368 MB, free: 3.785 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009092/0.09624, allocations: 1.3 MB / 369.3 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.09626, allocations: 3.984 kB / 369.3 MB, free: 2.352 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005595/0.09682, allocations: 297.1 kB / 369.6 MB, free: 2.039 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.377e-05/0.09688, allocations: 93.03 kB / 369.7 MB, free: 1.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.0969, allocations: 3.938 kB / 369.7 MB, free: 1.926 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.09707, allocations: 23.98 kB / 369.7 MB, free: 1.902 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.09711, allocations: 7.984 kB / 369.8 MB, free: 1.895 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.09712, allocations: 4 kB / 369.8 MB, free: 1.891 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.394e-05/0.09722, allocations: 123.2 kB / 369.9 MB, free: 1.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09722, allocations: 0 / 369.9 MB, free: 1.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.09749, allocations: 39.84 kB / 369.9 MB, free: 1.73 MB / 302.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007734/0.09827, allocations: 0.8351 MB / 370.8 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006145/0.0989, allocations: 144 kB / 370.9 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.09891, allocations: 0 / 370.9 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002715/0.09919, allocations: 166.5 kB / 371.1 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.09942, allocations: 15.92 kB / 371.1 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1323/0.2317, allocations: 2.204 MB / 373.3 MB, free: 17.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.2319, allocations: 0.7096 MB / 374 MB, free: 17.05 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.2e-05/0.232, allocations: 11.77 kB / 374 MB, free: 17.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.32e-05/0.232, allocations: 45.86 kB / 374 MB, free: 17.04 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.232, allocations: 0 / 374 MB, free: 17.04 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01329/0.2453, allocations: 2.99 MB / 377 MB, free: 16.86 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001538/0.2455, allocations: 239.3 kB / 377.3 MB, free: 16.61 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/1.917, allocations: 0 / 377.3 MB, free: 16.61 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor_fmu --startTime=0 --stopTime=6.2832 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches