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.001717/0.001717, allocations: 131.4 kB / 17.79 MB, free: 5.242 MB / 14.72 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.002001/0.002001, allocations: 211.6 kB / 20.75 MB, free: 2.293 MB / 14.72 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 1.447/1.447, allocations: 230.4 MB / 254 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001891/0.001891, allocations: 63.89 kB / 373 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1043, allocations: 53.37 MB / 426.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.0033/0.1076, allocations: 2.075 MB / 428.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.1087, allocations: 0.6584 MB / 429.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.263e-05/0.1088, allocations: 0 / 429.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.468e-05/0.1088, allocations: 19.8 kB / 429.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.109, allocations: 47.62 kB / 429.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003799/0.1093, allocations: 109.5 kB / 429.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.1096, allocations: 187.2 kB / 429.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.1097, allocations: 33.53 kB / 429.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.1099, allocations: 91.62 kB / 429.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.11, allocations: 79.69 kB / 429.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.11, allocations: 16 kB / 429.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.164e-05/0.1101, allocations: 20 kB / 429.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.678e-05/0.1101, allocations: 35.84 kB / 429.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.702e-05/0.1102, allocations: 79.64 kB / 429.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.1105, allocations: 183.2 kB / 430 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.1105, allocations: 0 / 430 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1105, allocations: 4 kB / 430 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.1105, allocations: 3.938 kB / 430 MB, free: 0.9375 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.0007747/0.1112, allocations: 482.7 kB / 430.5 MB, free: 428 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1113, allocations: 8.031 kB / 430.5 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.691e-05/0.1113, allocations: 38.75 kB / 430.5 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000367/0.1117, allocations: 52.8 kB / 430.6 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.112, allocations: 220.1 kB / 430.8 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.112, allocations: 12.38 kB / 430.8 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.112, allocations: 16.36 kB / 430.8 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000338/0.1123, allocations: 152.1 kB / 430.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1124, allocations: 4 kB / 431 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.1124, allocations: 0 / 431 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.1124, allocations: 3.984 kB / 431 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002667/0.1126, allocations: 95.94 kB / 431.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008786/0.1135, allocations: 0.5072 MB / 431.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.1138, allocations: 98.53 kB / 431.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.114, allocations: 68.75 kB / 431.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.114, allocations: 4 kB / 431.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.1141, allocations: 34.5 kB / 431.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.1141, allocations: 0 / 431.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004691/0.1145, allocations: 149.7 kB / 431.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.081e-05/0.1146, allocations: 106.8 kB / 432 MB, free: 14.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.1147, allocations: 158.2 kB / 432.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.1148, allocations: 33.7 kB / 432.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.568e-05/0.1149, allocations: 115.9 kB / 432.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.1149, allocations: 31.73 kB / 432.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.504e-05/0.115, allocations: 33.7 kB / 432.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1151, allocations: 318.8 kB / 432.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.1152, allocations: 43.92 kB / 432.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.1154, allocations: 80.2 kB / 432.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.1156, allocations: 98.56 kB / 432.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1156, allocations: 0 / 432.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003431/0.116, allocations: 145.5 kB / 433 MB, free: 13.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.116, allocations: 15.97 kB / 433.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.116, allocations: 0 / 433.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.116, allocations: 0 / 433.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000569/0.1166, allocations: 83.91 kB / 433.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.1181, allocations: 1.5 MB / 434.6 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.1182, allocations: 36.03 kB / 434.7 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.1183, allocations: 4 kB / 434.7 MB, free: 11.81 MB / 366.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.0001233/0.1184, allocations: 122.7 kB / 434.8 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.1184, allocations: 11.95 kB / 434.8 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004611/0.1189, allocations: 151.2 kB / 435 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1189, allocations: 7.938 kB / 435 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.1189, allocations: 0 / 435 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1189, allocations: 0 / 435 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007506/0.1196, allocations: 464.5 kB / 435.4 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1196, allocations: 0 / 435.4 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.1198, allocations: 31.92 kB / 435.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002024/0.12, allocations: 28.86 kB / 435.5 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.12, allocations: 8 kB / 435.5 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.1212, allocations: 1.391 MB / 436.9 MB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1212, allocations: 0 / 436.9 MB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005933/0.1218, allocations: 301.2 kB / 437.2 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/0.1218, allocations: 89.03 kB / 437.3 MB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.1218, allocations: 7.922 kB / 437.3 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.122, allocations: 20.06 kB / 437.3 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.122, allocations: 11.98 kB / 437.3 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.122, allocations: 0 / 437.3 MB, free: 8.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.759e-05/0.1221, allocations: 123.2 kB / 437.4 MB, free: 8.809 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1221, allocations: 0 / 437.4 MB, free: 8.809 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002923/0.1224, allocations: 39.95 kB / 437.5 MB, free: 8.77 MB / 366.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.0009138/0.1233, allocations: 0.8428 MB / 438.3 MB, free: 7.895 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006701/0.124, allocations: 139.8 kB / 438.4 MB, free: 7.758 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.124, allocations: 0 / 438.4 MB, free: 7.758 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003171/0.1243, allocations: 162.7 kB / 438.6 MB, free: 7.586 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.1246, allocations: 8 kB / 438.6 MB, free: 7.578 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/0.1278, allocations: 2.114 MB / 440.7 MB, free: 5.367 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.1281, allocations: 0.7158 MB / 441.4 MB, free: 4.625 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.14e-05/0.1282, allocations: 12.55 kB / 441.4 MB, free: 4.613 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.776e-05/0.1283, allocations: 39.41 kB / 441.5 MB, free: 4.574 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1283, allocations: 0 / 441.5 MB, free: 4.574 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02874/0.157, allocations: 3.397 MB / 444.9 MB, free: 1.312 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.27, allocations: 11.91 kB / 444.9 MB, free: 1.301 MB / 366.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_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_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.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_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: 13.906833136104979]