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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008598/0.0008598, allocations: 88.33 kB / 20.67 MB, free: 3.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001343/0.001343, allocations: 160.9 kB / 23.95 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8674/0.8674, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 324.5 MB, free: 15.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.909e-05, allocations: 3.266 kB / 324.5 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.00217/0.002189, allocations: 1.988 MB / 326.5 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009583/0.003148, allocations: 0.6115 MB / 327.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.029e-05/0.003228, allocations: 0 / 327.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.921e-05/0.003287, allocations: 27.78 kB / 327.2 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.003415, allocations: 47.56 kB / 327.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.00381, allocations: 103.6 kB / 327.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.004004, allocations: 199.2 kB / 327.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.004128, allocations: 37.78 kB / 327.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002137/0.004341, allocations: 119.7 kB / 327.7 MB, free: 12.6 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.218e-05/0.004413, allocations: 59.8 kB / 327.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.004436, allocations: 15.94 kB / 327.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.541e-05/0.004492, allocations: 24 kB / 327.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.639e-05/0.004518, allocations: 43.83 kB / 327.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.004566, allocations: 51.84 kB / 327.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.004766, allocations: 191.4 kB / 328 MB, free: 12.22 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.004768, allocations: 0 / 328 MB, free: 12.22 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.004769, allocations: 4 kB / 328 MB, free: 12.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.004774, allocations: 0 / 328 MB, free: 12.21 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.0005483/0.005322, allocations: 397.6 kB / 328.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.005363, allocations: 15.98 kB / 328.4 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.796e-05/0.005401, allocations: 42.73 kB / 328.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003136/0.005714, allocations: 56.81 kB / 328.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.005965, allocations: 161.4 kB / 328.7 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.005977, allocations: 8.312 kB / 328.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.006003, allocations: 16.36 kB / 328.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.006253, allocations: 200.8 kB / 328.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.006263, allocations: 192 / 328.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.00628, allocations: 12.12 kB / 328.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.006286, allocations: 0 / 328.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.006444, allocations: 95.92 kB / 329 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006398/0.007084, allocations: 454.6 kB / 329.5 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.007273, allocations: 102.5 kB / 329.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.007411, allocations: 60.92 kB / 329.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.00743, allocations: 11.98 kB / 329.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.007451, allocations: 34.56 kB / 329.7 MB, free: 10.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.007452, allocations: 0 / 329.7 MB, free: 10.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003019/0.007754, allocations: 153.4 kB / 329.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.007794, allocations: 102.8 kB / 329.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.007897, allocations: 166.3 kB / 330.1 MB, free: 9.965 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.007911, allocations: 25.7 kB / 330.1 MB, free: 9.934 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.11e-05/0.007972, allocations: 116 kB / 330.2 MB, free: 9.816 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.007995, allocations: 31.73 kB / 330.3 MB, free: 9.785 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-05/0.008038, allocations: 29.7 kB / 330.3 MB, free: 9.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.75e-05/0.008115, allocations: 322.8 kB / 330.6 MB, free: 9.426 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.405e-05/0.008189, allocations: 43.97 kB / 330.6 MB, free: 9.383 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.008292, allocations: 127.7 kB / 330.8 MB, free: 9.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.008434, allocations: 98.8 kB / 330.9 MB, free: 9.125 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.008439, allocations: 4 kB / 330.9 MB, free: 9.121 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001905/0.00863, allocations: 149.5 kB / 331 MB, free: 8.969 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.008643, allocations: 8 kB / 331 MB, free: 8.961 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.008648, allocations: 0 / 331 MB, free: 8.961 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.008661, allocations: 7.922 kB / 331 MB, free: 8.953 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.008964, allocations: 79.92 kB / 331.1 MB, free: 8.875 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008782/0.009842, allocations: 1.4 MB / 332.5 MB, free: 7.359 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.717e-05/0.009929, allocations: 27.91 kB / 332.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.00994, allocations: 7.984 kB / 332.5 MB, free: 7.324 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 (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 7.859e-05/0.01002, allocations: 130 kB / 332.7 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.01004, allocations: 7.953 kB / 332.7 MB, free: 7.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002534/0.01029, allocations: 151.2 kB / 332.8 MB, free: 7.023 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.01029, allocations: 3.984 kB / 332.8 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.0103, allocations: 0 / 332.8 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.0103, allocations: 7.938 kB / 332.8 MB, free: 7.012 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/0.01072, allocations: 415.2 kB / 333.2 MB, free: 6.551 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.01073, allocations: 0 / 333.2 MB, free: 6.551 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.364e-05/0.0108, allocations: 23.97 kB / 333.3 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001289/0.01093, allocations: 36.81 kB / 333.3 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.01094, allocations: 0 / 333.3 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006277/0.01156, allocations: 1.287 MB / 334.6 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01157, allocations: 160 / 334.6 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003097/0.01187, allocations: 301 kB / 334.9 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.533e-05/0.01189, allocations: 15.91 kB / 334.9 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.0119, allocations: 0 / 334.9 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.837e-05/0.01198, allocations: 20.05 kB / 334.9 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.01201, allocations: 15.92 kB / 334.9 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.01202, allocations: 0 / 334.9 MB, free: 4.719 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.921e-05/0.01208, allocations: 124.1 kB / 335.1 MB, free: 4.598 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01208, allocations: 3.938 kB / 335.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001982/0.01228, allocations: 39.95 kB / 335.1 MB, free: 4.555 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 (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.000489/0.01277, allocations: 0.8311 MB / 335.9 MB, free: 3.691 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003645/0.01313, allocations: 136 kB / 336.1 MB, free: 3.559 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01313, allocations: 0 / 336.1 MB, free: 3.559 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.01331, allocations: 158.6 kB / 336.2 MB, free: 3.391 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.01349, allocations: 12.84 kB / 336.2 MB, free: 3.379 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.01538, allocations: 2.066 MB / 338.3 MB, free: 1.211 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.539e-05/0.01544, allocations: 109.3 kB / 338.4 MB, free: 1.086 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.838e-05/0.01548, allocations: 16.48 kB / 338.4 MB, free: 1.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.866e-05/0.01554, allocations: 40.48 kB / 338.5 MB, free: 1.031 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01554, allocations: 0 / 338.5 MB, free: 1.031 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/0.03471, allocations: 4.11 MB / 342.6 MB, free: 13.02 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.476/7.511, allocations: 2.75 kB / 342.6 MB, free: 13.02 MB / 314.7 MB " [Timeout remaining time 652] (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 --stepSize=0.0100051 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.103746342472732]