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) 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 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007858/0.000786, allocations: 91.67 kB / 16.65 MB, free: 6.535 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.0008252/0.0008252, allocations: 177.8 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.3 MB / 241.6 MB, free: 14.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002532/0.0002532, allocations: 8 kB / 301.5 MB, free: 5.781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09754/0.09781, allocations: 50.42 MB / 352 MB, free: 3.352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002221/0.1001, allocations: 1.732 MB / 353.7 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009964/0.1011, allocations: 0.5611 MB / 354.2 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.744e-05/0.1012, allocations: 0 / 354.2 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.17e-05/0.1012, allocations: 15.86 kB / 354.3 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.1014, allocations: 39.75 kB / 354.3 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.1017, allocations: 75.84 kB / 354.4 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.1019, allocations: 175.2 kB / 354.5 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.1021, allocations: 49.41 kB / 354.6 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.1022, allocations: 67.72 kB / 354.7 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.563e-05/0.1023, allocations: 71.67 kB / 354.7 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.1024, allocations: 8 kB / 354.7 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.726e-05/0.1024, allocations: 11.94 kB / 354.7 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.867e-05/0.1024, allocations: 19.92 kB / 354.8 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.667e-05/0.1025, allocations: 97.3 kB / 354.9 MB, free: 416 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.1027, allocations: 163.6 kB / 355 MB, free: 252 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1027, allocations: 0 / 355 MB, free: 252 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1028, allocations: 0 / 355 MB, free: 252 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1028, allocations: 0 / 355 MB, free: 252 kB / 286.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.0007134/0.1035, allocations: 454.9 kB / 355.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1035, allocations: 8.031 kB / 355.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.982e-05/0.1036, allocations: 50.72 kB / 355.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.1036, allocations: 20.75 kB / 355.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.1038, allocations: 192.1 kB / 355.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.1038, allocations: 8.375 kB / 355.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.1039, allocations: 12.28 kB / 355.8 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003106/0.1042, allocations: 152.2 kB / 355.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1042, allocations: 4 kB / 355.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.1042, allocations: 8 kB / 355.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1042, allocations: 0 / 355.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.1045, allocations: 95.94 kB / 356 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.1055, allocations: 0.5149 MB / 356.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.1058, allocations: 106.5 kB / 356.6 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.106, allocations: 72.97 kB / 356.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.106, allocations: 4 kB / 356.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.1061, allocations: 38.5 kB / 356.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.1061, allocations: 0 / 356.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004541/0.1065, allocations: 153.5 kB / 356.9 MB, free: 14.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/0.1066, allocations: 106.8 kB / 357 MB, free: 14.06 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.1068, allocations: 165.8 kB / 357.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.1068, allocations: 29.64 kB / 357.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.276e-05/0.1069, allocations: 119.9 kB / 357.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.1069, allocations: 23.64 kB / 357.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.107, allocations: 13.72 kB / 357.3 MB, free: 13.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.1072, allocations: 330.8 kB / 357.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.1073, allocations: 39.97 kB / 357.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.1075, allocations: 76.27 kB / 357.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003148/0.1078, allocations: 106.8 kB / 357.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1078, allocations: 0 / 357.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00034/0.1081, allocations: 161.3 kB / 358 MB, free: 12.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1082, allocations: 6.812 kB / 358 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.1082, allocations: 48 / 358 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1082, allocations: 11.97 kB / 358.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005434/0.1087, allocations: 87.95 kB / 358.1 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/0.11, allocations: 1.394 MB / 359.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.1102, allocations: 23.92 kB / 359.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.1102, allocations: 4 kB / 359.6 MB, free: 11.29 MB / 302.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.0001008/0.1103, allocations: 125.9 kB / 359.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.1104, allocations: 15.89 kB / 359.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004657/0.1108, allocations: 159.1 kB / 359.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1109, allocations: 0 / 359.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.1109, allocations: 0 / 359.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1109, allocations: 0 / 359.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007085/0.1116, allocations: 476 kB / 360.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1116, allocations: 0 / 360.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.1117, allocations: 23.98 kB / 360.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002439/0.112, allocations: 44.78 kB / 360.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.112, allocations: 8 kB / 360.4 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009602/0.113, allocations: 1.292 MB / 361.7 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.113, allocations: 0 / 361.7 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005631/0.1136, allocations: 312.9 kB / 362 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.1136, allocations: 93.02 kB / 362.1 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.1137, allocations: 4 kB / 362.1 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.1138, allocations: 20.05 kB / 362.1 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.1139, allocations: 7.984 kB / 362.1 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.1139, allocations: 0 / 362.1 MB, free: 8.477 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.521e-05/0.114, allocations: 127.2 kB / 362.2 MB, free: 8.352 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.114, allocations: 0 / 362.2 MB, free: 8.352 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.1143, allocations: 39.94 kB / 362.3 MB, free: 8.312 MB / 302.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.0008521/0.1151, allocations: 0.8388 MB / 363.1 MB, free: 7.441 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000651/0.1158, allocations: 140 kB / 363.3 MB, free: 7.305 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1158, allocations: 0 / 363.3 MB, free: 7.305 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002963/0.1161, allocations: 170.6 kB / 363.4 MB, free: 7.125 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.1164, allocations: 16 kB / 363.4 MB, free: 7.109 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/0.1194, allocations: 2.185 MB / 365.6 MB, free: 4.828 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.1196, allocations: 0.7157 MB / 366.3 MB, free: 4.086 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.763e-05/0.1197, allocations: 16.55 kB / 366.3 MB, free: 4.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.469e-05/0.1198, allocations: 39.42 kB / 366.4 MB, free: 4.031 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1198, allocations: 0 / 366.4 MB, free: 4.031 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.1338, allocations: 2.96 MB / 369.3 MB, free: 1.254 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/0.1341, allocations: 247.4 kB / 369.6 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/2.059, allocations: 0 / 369.6 MB, free: 0.9961 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor_fmu --startTime=0 --stopTime=6.2832 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/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) Reference file matches