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.001545/0.001545, allocations: 113.7 kB / 17.28 MB, free: 6.219 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.001631/0.001631, allocations: 189.3 kB / 18.2 MB, free: 5.301 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.43/1.43, allocations: 205.1 MB / 224.1 MB, free: 12.45 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.001139/0.001139, allocations: 55.92 kB / 280.3 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09257/0.09372, allocations: 46.63 MB / 326.9 MB, free: 4.703 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003606/0.09737, allocations: 2.056 MB / 328.9 MB, free: 2.625 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009982/0.09839, allocations: 0.6048 MB / 329.5 MB, free: 2.012 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.762e-05/0.09847, allocations: 4 kB / 329.5 MB, free: 2.008 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.007e-05/0.09855, allocations: 7.922 kB / 329.6 MB, free: 2 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001434/0.0987, allocations: 43.69 kB / 329.6 MB, free: 1.957 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.09902, allocations: 75.84 kB / 329.7 MB, free: 1.883 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.09922, allocations: 179.3 kB / 329.8 MB, free: 1.707 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.09939, allocations: 49.45 kB / 329.9 MB, free: 1.656 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.09956, allocations: 83.64 kB / 330 MB, free: 1.574 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.09969, allocations: 87.67 kB / 330.1 MB, free: 1.488 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.09973, allocations: 16 kB / 330.1 MB, free: 1.473 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.842e-05/0.09976, allocations: 16 kB / 330.1 MB, free: 1.457 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.828e-05/0.0998, allocations: 39.78 kB / 330.1 MB, free: 1.418 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.634e-05/0.09989, allocations: 75.64 kB / 330.2 MB, free: 1.344 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.1001, allocations: 167.7 kB / 330.4 MB, free: 1.18 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1001, allocations: 0 / 330.4 MB, free: 1.18 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1001, allocations: 0 / 330.4 MB, free: 1.18 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.1001, allocations: 0 / 330.4 MB, free: 1.18 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.0008407/0.101, allocations: 474.8 kB / 330.8 MB, free: 0.668 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.101, allocations: 8.031 kB / 330.8 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.414e-05/0.1011, allocations: 42.73 kB / 330.9 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.1011, allocations: 16.78 kB / 330.9 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.1014, allocations: 200 kB / 331.1 MB, free: 368 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.1014, allocations: 12.38 kB / 331.1 MB, free: 356 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.1015, allocations: 8.375 kB / 331.1 MB, free: 348 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003231/0.1018, allocations: 156.1 kB / 331.3 MB, free: 176 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.1018, allocations: 0 / 331.3 MB, free: 176 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.1019, allocations: 8 kB / 331.3 MB, free: 168 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.1019, allocations: 0 / 331.3 MB, free: 168 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.1021, allocations: 95.94 kB / 331.4 MB, free: 72 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009448/0.1031, allocations: 0.5031 MB / 331.9 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000398/0.1035, allocations: 114.4 kB / 332 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.1037, allocations: 68.83 kB / 332.1 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.1037, allocations: 4 kB / 332.1 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.1038, allocations: 42.48 kB / 332.1 MB, free: 15.26 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.1038, allocations: 0 / 332.1 MB, free: 15.26 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004888/0.1043, allocations: 141.5 kB / 332.2 MB, free: 15.12 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.1044, allocations: 102.8 kB / 332.3 MB, free: 14.99 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.1046, allocations: 158.1 kB / 332.5 MB, free: 14.83 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.1046, allocations: 33.64 kB / 332.5 MB, free: 14.79 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.1048, allocations: 123.8 kB / 332.6 MB, free: 14.66 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.1048, allocations: 23.81 kB / 332.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.1049, allocations: 33.7 kB / 332.7 MB, free: 14.6 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.105, allocations: 318.8 kB / 333 MB, free: 14.28 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.1052, allocations: 39.97 kB / 333.1 MB, free: 14.24 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.1053, allocations: 84.2 kB / 333.1 MB, free: 14.14 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/0.1056, allocations: 102.5 kB / 333.2 MB, free: 14.04 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1056, allocations: 0 / 333.2 MB, free: 14.04 MB / 286.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003422/0.1059, allocations: 149.5 kB / 333.4 MB, free: 13.88 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.106, allocations: 8 kB / 333.4 MB, free: 13.88 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.106, allocations: 3.938 kB / 333.4 MB, free: 13.87 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.106, allocations: 0 / 333.4 MB, free: 13.87 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006085/0.1066, allocations: 83.95 kB / 333.5 MB, free: 13.79 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001512/0.1082, allocations: 1.496 MB / 335 MB, free: 12.15 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.1083, allocations: 31.86 kB / 335 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.1084, allocations: 8.109 kB / 335 MB, free: 12.11 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.0001155/0.1085, allocations: 125.8 kB / 335.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.1085, allocations: 11.91 kB / 335.1 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004638/0.109, allocations: 155.2 kB / 335.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.109, allocations: 7.875 kB / 335.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-06/0.109, allocations: 0 / 335.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.109, allocations: 0 / 335.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007333/0.1098, allocations: 464 kB / 335.8 MB, free: 11.28 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.1098, allocations: 7.984 kB / 335.8 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.11, allocations: 23.97 kB / 335.8 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002145/0.1102, allocations: 24.84 kB / 335.8 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.1102, allocations: 11.98 kB / 335.8 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/0.1115, allocations: 1.391 MB / 337.2 MB, free: 9.68 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1115, allocations: 0 / 337.2 MB, free: 9.68 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005822/0.1121, allocations: 297.6 kB / 337.5 MB, free: 9.367 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.907e-05/0.1122, allocations: 88.95 kB / 337.6 MB, free: 9.262 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.1122, allocations: 7.938 kB / 337.6 MB, free: 9.254 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.1124, allocations: 15.98 kB / 337.6 MB, free: 9.238 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.1124, allocations: 12.05 kB / 337.6 MB, free: 9.227 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.1125, allocations: 0 / 337.6 MB, free: 9.227 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.439e-05/0.1126, allocations: 119.2 kB / 337.7 MB, free: 9.109 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1126, allocations: 0 / 337.7 MB, free: 9.109 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002923/0.1129, allocations: 39.94 kB / 337.8 MB, free: 9.07 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.0009792/0.1138, allocations: 0.8349 MB / 338.6 MB, free: 8.203 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008058/0.1147, allocations: 143.9 kB / 338.8 MB, free: 8.062 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1147, allocations: 0 / 338.8 MB, free: 8.062 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003426/0.115, allocations: 170.7 kB / 338.9 MB, free: 7.883 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.1153, allocations: 12 kB / 338.9 MB, free: 7.871 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/0.1188, allocations: 2.146 MB / 341.1 MB, free: 5.633 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.1193, allocations: 0.7157 MB / 341.8 MB, free: 4.891 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.907e-05/0.1194, allocations: 16.55 kB / 341.8 MB, free: 4.875 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.309e-05/0.1195, allocations: 39.42 kB / 341.8 MB, free: 4.836 MB / 286.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1195, allocations: 3.938 kB / 341.9 MB, free: 4.832 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.1376, allocations: 3.152 MB / 345 MB, free: 1.668 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00025/0.1378, allocations: 240.3 kB / 345.2 MB, free: 1.414 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.971/2.109, allocations: 0 / 345.2 MB, free: 1.414 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor_fmu --startTime=0 --stopTime=6.2832 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches