Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 119 kB / 17.78 MB, free: 5.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 197.2 kB / 20.73 MB, free: 2.289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 55.92 kB / 365.7 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09612/0.09762, allocations: 52.13 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003495/0.1011, allocations: 2.038 MB / 419.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.1022, allocations: 0.5844 MB / 420.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.363e-05/0.1023, allocations: 0 / 420.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.227e-05/0.1024, allocations: 19.78 kB / 420.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.1025, allocations: 47.62 kB / 420.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.1028, allocations: 91.8 kB / 420.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.1031, allocations: 175.3 kB / 420.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.1032, allocations: 41.47 kB / 420.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.1034, allocations: 79.66 kB / 420.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.1035, allocations: 87.66 kB / 420.9 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.1035, allocations: 12 kB / 421 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.714e-05/0.1036, allocations: 16 kB / 421 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.552e-05/0.1036, allocations: 31.86 kB / 421 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.612e-05/0.1037, allocations: 79.59 kB / 421.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.1039, allocations: 175.3 kB / 421.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1039, allocations: 3.938 kB / 421.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1039, allocations: 3.938 kB / 421.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.104, allocations: 0 / 421.3 MB, free: 9.102 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.0008418/0.1048, allocations: 478.7 kB / 421.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.1048, allocations: 8.031 kB / 421.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.41e-05/0.1049, allocations: 42.75 kB / 421.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.739e-05/0.1049, allocations: 16.84 kB / 421.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.1051, allocations: 192.2 kB / 422 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.1052, allocations: 12.38 kB / 422 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.1052, allocations: 12.38 kB / 422 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003644/0.1056, allocations: 160.1 kB / 422.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1056, allocations: 0 / 422.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.1056, allocations: 8 kB / 422.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1056, allocations: 0 / 422.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.1059, allocations: 96.95 kB / 422.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009582/0.1068, allocations: 0.5033 MB / 422.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.1072, allocations: 102.5 kB / 422.9 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.1074, allocations: 56.98 kB / 422.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.1074, allocations: 11.98 kB / 422.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.1074, allocations: 42.48 kB / 423 MB, free: 7.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.1074, allocations: 0 / 423 MB, free: 7.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004823/0.1079, allocations: 141.5 kB / 423.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.401e-05/0.108, allocations: 106.8 kB / 423.2 MB, free: 6.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.1081, allocations: 157.5 kB / 423.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.1082, allocations: 29.7 kB / 423.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.081e-05/0.1083, allocations: 120 kB / 423.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.043e-05/0.1083, allocations: 27.75 kB / 423.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.355e-05/0.1084, allocations: 33.64 kB / 423.6 MB, free: 6.539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1085, allocations: 322.8 kB / 423.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.1087, allocations: 39.97 kB / 423.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.1088, allocations: 80.2 kB / 424 MB, free: 6.082 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.1091, allocations: 98.56 kB / 424.1 MB, free: 5.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1091, allocations: 7.938 kB / 424.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003826/0.1095, allocations: 149.5 kB / 424.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.1095, allocations: 10.38 kB / 424.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1095, allocations: 0 / 424.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1095, allocations: 0 / 424.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005708/0.1101, allocations: 79.92 kB / 424.4 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/0.1117, allocations: 1.508 MB / 425.9 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.1119, allocations: 32 kB / 425.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.1119, allocations: 4 kB / 425.9 MB, free: 4.039 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 0.0001342/0.1121, allocations: 126.4 kB / 426 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/0.1121, allocations: 7.953 kB / 426 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004721/0.1126, allocations: 159.1 kB / 426.2 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1126, allocations: 3.938 kB / 426.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.42e-07/0.1126, allocations: 0 / 426.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1126, allocations: 0 / 426.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008232/0.1134, allocations: 468.4 kB / 426.6 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1134, allocations: 4 kB / 426.6 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.1135, allocations: 23.97 kB / 426.7 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002089/0.1137, allocations: 28.88 kB / 426.7 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.1138, allocations: 7.984 kB / 426.7 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001269/0.115, allocations: 1.387 MB / 428.1 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.115, allocations: 0 / 428.1 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000719/0.1158, allocations: 305.2 kB / 428.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.306e-05/0.1158, allocations: 89.03 kB / 428.5 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.1158, allocations: 7.938 kB / 428.5 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.116, allocations: 16.05 kB / 428.5 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.1161, allocations: 11.98 kB / 428.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.1161, allocations: 0 / 428.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.1162, allocations: 119.2 kB / 428.6 MB, free: 1.043 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1162, allocations: 0 / 428.6 MB, free: 1.043 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003046/0.1165, allocations: 39.95 kB / 428.7 MB, free: 1.004 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.0009845/0.1175, allocations: 0.8389 MB / 429.5 MB, free: 136 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006956/0.1182, allocations: 135.8 kB / 429.6 MB, free: 0 / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1182, allocations: 0 / 429.6 MB, free: 0 / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000362/0.1185, allocations: 166.8 kB / 429.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.1188, allocations: 14.41 kB / 429.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00368/0.1224, allocations: 2.105 MB / 431.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.1228, allocations: 0.7197 MB / 432.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.695e-05/0.1229, allocations: 8.547 kB / 432.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.058e-05/0.123, allocations: 43.42 kB / 432.7 MB, free: 12.81 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.123, allocations: 0 / 432.7 MB, free: 12.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02938/0.1524, allocations: 3.372 MB / 436.1 MB, free: 9.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.34, allocations: 13.05 kB / 436.1 MB, free: 9.582 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.csv","/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_4.0.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: 14.9108357289806]