Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002568/0.002568, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 55.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1054, allocations: 53.33 MB / 426.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.00331/0.1087, allocations: 2.066 MB / 428.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.1098, allocations: 0.6545 MB / 429 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.46e-05/0.1099, allocations: 4 kB / 429.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.431e-05/0.11, allocations: 19.78 kB / 429.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.1101, allocations: 47.62 kB / 429.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.1105, allocations: 111.4 kB / 429.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.1107, allocations: 191.2 kB / 429.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.1108, allocations: 37.53 kB / 429.5 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.111, allocations: 87.66 kB / 429.5 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.1111, allocations: 79.66 kB / 429.6 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.1112, allocations: 16 kB / 429.6 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.167e-05/0.1112, allocations: 20 kB / 429.6 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.245e-05/0.1113, allocations: 39.84 kB / 429.7 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.884e-05/0.1114, allocations: 75.66 kB / 429.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.1116, allocations: 183.2 kB / 429.9 MB, free: 1.148 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1116, allocations: 0 / 429.9 MB, free: 1.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1116, allocations: 7.938 kB / 429.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1116, allocations: 0 / 429.9 MB, free: 1.141 MB / 350.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.0007932/0.1124, allocations: 470.7 kB / 430.4 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1125, allocations: 12.03 kB / 430.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.669e-05/0.1125, allocations: 42.73 kB / 430.5 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003753/0.1129, allocations: 56.8 kB / 430.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.1132, allocations: 220.1 kB / 430.7 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.1132, allocations: 8.375 kB / 430.7 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.1132, allocations: 8.375 kB / 430.7 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003167/0.1135, allocations: 164.1 kB / 430.9 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1135, allocations: 0 / 430.9 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.1135, allocations: 4 kB / 430.9 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.1136, allocations: 7.984 kB / 430.9 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1902/0.3038, allocations: 86.34 kB / 431 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009868/0.3048, allocations: 0.5036 MB / 431.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.3051, allocations: 101.9 kB / 431.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.3053, allocations: 63.66 kB / 431.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.3053, allocations: 3 kB / 431.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.3053, allocations: 33 kB / 431.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.074e-06/0.3053, allocations: 0 / 431.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005166/0.3058, allocations: 154.6 kB / 431.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.3059, allocations: 106 kB / 432 MB, free: 10.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.306, allocations: 158.7 kB / 432.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.306, allocations: 30.61 kB / 432.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.298e-05/0.3061, allocations: 125.8 kB / 432.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.3061, allocations: 28.03 kB / 432.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.166e-05/0.3062, allocations: 28.19 kB / 432.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.983e-05/0.3062, allocations: 324.8 kB / 432.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.3064, allocations: 35.61 kB / 432.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.3065, allocations: 84.62 kB / 432.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.3067, allocations: 106.6 kB / 432.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3067, allocations: 0 / 432.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003235/0.3071, allocations: 141.9 kB / 433 MB, free: 10.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3071, allocations: 5.344 kB / 433 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3071, allocations: 6.094 kB / 433 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.3071, allocations: 5.188 kB / 433 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005654/0.3077, allocations: 87.59 kB / 433.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/0.3088, allocations: 1.495 MB / 434.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.3089, allocations: 15.47 kB / 434.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.3089, allocations: 10.28 kB / 434.6 MB, free: 8.574 MB / 350.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 7.78e-05/0.309, allocations: 129.3 kB / 434.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.309, allocations: 13.66 kB / 434.8 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004122/0.3095, allocations: 157.2 kB / 434.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3095, allocations: 0 / 434.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.3095, allocations: 3.469 kB / 434.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3095, allocations: 5.188 kB / 434.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006194/0.3101, allocations: 462.9 kB / 435.4 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3101, allocations: 0 / 435.4 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.3102, allocations: 25.52 kB / 435.4 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002133/0.3104, allocations: 30.14 kB / 435.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.3104, allocations: 11.69 kB / 435.4 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008604/0.3113, allocations: 1.392 MB / 436.8 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3113, allocations: 0 / 436.8 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005736/0.3119, allocations: 297.8 kB / 437.1 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/0.3119, allocations: 83.69 kB / 437.2 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.312, allocations: 6.328 kB / 437.2 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.3121, allocations: 19.94 kB / 437.2 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.3122, allocations: 17.52 kB / 437.2 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.3122, allocations: 2.375 kB / 437.3 MB, free: 6.465 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.947e-05/0.3123, allocations: 125.4 kB / 437.4 MB, free: 6.387 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3123, allocations: 0 / 437.4 MB, free: 6.387 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003226/0.3126, allocations: 43.38 kB / 437.4 MB, free: 6.379 MB / 350.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.0008327/0.3134, allocations: 0.8343 MB / 438.2 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007123/0.3141, allocations: 135.2 kB / 438.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3141, allocations: 1.156 kB / 438.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003223/0.3145, allocations: 165.9 kB / 438.5 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.3147, allocations: 8.188 kB / 438.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003109/0.3178, allocations: 2.115 MB / 440.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.318, allocations: 0.7126 MB / 441.4 MB, free: 3.473 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.75e-05/0.3181, allocations: 12.67 kB / 441.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.773e-05/0.3182, allocations: 42.31 kB / 441.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3182, allocations: 1.281 kB / 441.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03915/0.3573, allocations: 3.389 MB / 444.8 MB, free: 2.949 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.53, allocations: 9.984 kB / 444.8 MB, free: 2.941 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.csv --start-time 0 --stop-time 6.2832 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0100051 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 13.99830044299597]