Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 100.3 kB / 17.58 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001219, allocations: 192.1 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.594/1.594, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 55.92 kB / 280.8 MB, free: 3.07 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.109, allocations: 46.62 MB / 327.4 MB, free: 4.383 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003958/0.113, allocations: 2.006 MB / 329.4 MB, free: 2.352 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.1144, allocations: 0.625 MB / 330 MB, free: 1.719 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.1146, allocations: 0 / 330 MB, free: 1.719 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.771e-05/0.1148, allocations: 19.8 kB / 330 MB, free: 1.699 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002368/0.115, allocations: 43.62 kB / 330.1 MB, free: 1.656 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004547/0.1155, allocations: 87.81 kB / 330.2 MB, free: 1.57 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.1158, allocations: 179.3 kB / 330.3 MB, free: 1.395 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000203/0.116, allocations: 53.47 kB / 330.4 MB, free: 1.34 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003337/0.1164, allocations: 87.62 kB / 330.5 MB, free: 1.254 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.1165, allocations: 71.69 kB / 330.5 MB, free: 1.184 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.866e-05/0.1166, allocations: 16 kB / 330.6 MB, free: 1.168 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.576e-05/0.1167, allocations: 16 kB / 330.6 MB, free: 1.152 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.291e-05/0.1167, allocations: 39.78 kB / 330.6 MB, free: 1.113 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.1168, allocations: 79.64 kB / 330.7 MB, free: 1.035 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.1171, allocations: 167.7 kB / 330.8 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1171, allocations: 0 / 330.8 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1171, allocations: 0 / 330.8 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.1171, allocations: 0 / 330.8 MB, free: 0.8711 MB / 270.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.0009284/0.118, allocations: 478.8 kB / 331.3 MB, free: 364 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.1181, allocations: 8.031 kB / 331.3 MB, free: 356 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.67e-05/0.1182, allocations: 42.73 kB / 331.4 MB, free: 304 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/0.1182, allocations: 12.84 kB / 331.4 MB, free: 292 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.1185, allocations: 204 kB / 331.6 MB, free: 48 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.1185, allocations: 8.375 kB / 331.6 MB, free: 40 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.1185, allocations: 12.38 kB / 331.6 MB, free: 28 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003763/0.1189, allocations: 160.2 kB / 331.8 MB, free: 15.85 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.1189, allocations: 0 / 331.8 MB, free: 15.85 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.119, allocations: 4 kB / 331.8 MB, free: 15.85 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.119, allocations: 0 / 331.8 MB, free: 15.85 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000285/0.1193, allocations: 91.94 kB / 331.8 MB, free: 15.76 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.1203, allocations: 0.5031 MB / 332.3 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/0.1207, allocations: 110.5 kB / 332.5 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.1209, allocations: 64.83 kB / 332.5 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.1209, allocations: 8 kB / 332.5 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.121, allocations: 42.47 kB / 332.6 MB, free: 14.96 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 2.265e-06/0.121, allocations: 0 / 332.6 MB, free: 14.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005079/0.1215, allocations: 137.5 kB / 332.7 MB, free: 14.82 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/0.1216, allocations: 107 kB / 332.8 MB, free: 14.69 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.1217, allocations: 162.1 kB / 333 MB, free: 14.52 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.1218, allocations: 25.7 kB / 333 MB, free: 14.49 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.1219, allocations: 127.8 kB / 333.1 MB, free: 14.36 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.1219, allocations: 23.66 kB / 333.1 MB, free: 14.34 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.836e-05/0.122, allocations: 33.7 kB / 333.2 MB, free: 14.3 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1221, allocations: 330.7 kB / 333.5 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.1223, allocations: 43.97 kB / 333.5 MB, free: 13.92 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.1224, allocations: 76.2 kB / 333.6 MB, free: 13.83 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002394/0.1227, allocations: 98.56 kB / 333.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.1227, allocations: 4 kB / 333.7 MB, free: 13.72 MB / 286.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003436/0.1231, allocations: 145.4 kB / 333.9 MB, free: 13.57 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1231, allocations: 8 kB / 333.9 MB, free: 13.57 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1231, allocations: 4.031 kB / 333.9 MB, free: 13.56 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.1231, allocations: 0 / 333.9 MB, free: 13.56 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000575/0.1237, allocations: 79.92 kB / 333.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.1252, allocations: 1.508 MB / 335.5 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.1254, allocations: 23.86 kB / 335.5 MB, free: 11.81 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.1254, allocations: 7.984 kB / 335.5 MB, free: 11.8 MB / 286.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.0001217/0.1256, allocations: 125.8 kB / 335.6 MB, free: 11.67 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/0.1256, allocations: 7.906 kB / 335.6 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004627/0.1261, allocations: 159.2 kB / 335.8 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.1261, allocations: 3.938 kB / 335.8 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.1261, allocations: 0 / 335.8 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1261, allocations: 0 / 335.8 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007411/0.1269, allocations: 468 kB / 336.2 MB, free: 10.97 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1269, allocations: 3.938 kB / 336.2 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.127, allocations: 23.97 kB / 336.3 MB, free: 10.94 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002231/0.1273, allocations: 32.88 kB / 336.3 MB, free: 10.91 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.1273, allocations: 3.984 kB / 336.3 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001122/0.1284, allocations: 1.395 MB / 337.7 MB, free: 9.371 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1284, allocations: 4.031 kB / 337.7 MB, free: 9.367 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000586/0.129, allocations: 293.1 kB / 338 MB, free: 9.059 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.845e-05/0.1291, allocations: 93.02 kB / 338.1 MB, free: 8.949 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.1291, allocations: 11.94 kB / 338.1 MB, free: 8.938 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.1293, allocations: 11.98 kB / 338.1 MB, free: 8.926 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.1294, allocations: 7.984 kB / 338.1 MB, free: 8.918 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.1294, allocations: 4 kB / 338.1 MB, free: 8.914 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.1295, allocations: 115.2 kB / 338.2 MB, free: 8.801 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1295, allocations: 0 / 338.2 MB, free: 8.801 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003187/0.1298, allocations: 43.94 kB / 338.3 MB, free: 8.758 MB / 286.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.0009692/0.1308, allocations: 0.8349 MB / 339.1 MB, free: 7.891 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007338/0.1315, allocations: 151.8 kB / 339.2 MB, free: 7.742 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.1316, allocations: 0 / 339.2 MB, free: 7.742 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000328/0.1319, allocations: 162.6 kB / 339.4 MB, free: 7.57 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.1322, allocations: 8.219 kB / 339.4 MB, free: 7.562 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003519/0.1357, allocations: 2.103 MB / 341.5 MB, free: 5.367 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.1361, allocations: 0.7196 MB / 342.2 MB, free: 4.621 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.78e-05/0.1361, allocations: 12.55 kB / 342.2 MB, free: 4.609 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.1363, allocations: 39.42 kB / 342.3 MB, free: 4.57 MB / 286.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1363, allocations: 0 / 342.3 MB, free: 4.57 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0321/0.1684, allocations: 3.251 MB / 345.5 MB, free: 1.262 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.57, allocations: 11.98 kB / 345.5 MB, free: 1.25 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches