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.001233/0.001233, allocations: 125 kB / 17.79 MB, free: 5.121 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.001318/0.001318, allocations: 190.9 kB / 20.73 MB, free: 2.184 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.344/1.344, allocations: 225.6 MB / 249.1 MB, free: 3.641 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.001438/0.001438, allocations: 51.92 kB / 365.7 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09848/0.09991, allocations: 52.13 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003355/0.1033, allocations: 2.045 MB / 419.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009786/0.1042, allocations: 0.5804 MB / 420.4 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.557e-05/0.1043, allocations: 4 kB / 420.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.097e-05/0.1044, allocations: 19.8 kB / 420.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.1045, allocations: 51.62 kB / 420.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.1048, allocations: 87.56 kB / 420.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002342/0.1051, allocations: 179.3 kB / 420.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.1052, allocations: 41.47 kB / 420.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.1054, allocations: 83.69 kB / 420.9 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.1055, allocations: 75.62 kB / 420.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.004e-05/0.1056, allocations: 20 kB / 421 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.769e-05/0.1056, allocations: 16 kB / 421 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.964e-05/0.1056, allocations: 31.91 kB / 421 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.934e-05/0.1057, allocations: 87.52 kB / 421.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.1059, allocations: 163.3 kB / 421.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1059, allocations: 7.938 kB / 421.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1059, allocations: 0 / 421.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.106, allocations: 0 / 421.3 MB, free: 9.117 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.000813/0.1068, allocations: 474.7 kB / 421.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.1068, allocations: 15.97 kB / 421.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.438e-05/0.1069, allocations: 42.73 kB / 421.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.1069, allocations: 16.84 kB / 421.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.1071, allocations: 200.1 kB / 422 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.1071, allocations: 8.375 kB / 422 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.1072, allocations: 12.38 kB / 422 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003467/0.1075, allocations: 148.2 kB / 422.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.1075, allocations: 0 / 422.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.1075, allocations: 4 kB / 422.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.1075, allocations: 4 kB / 422.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002829/0.1078, allocations: 104.9 kB / 422.3 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009483/0.1088, allocations: 0.4955 MB / 422.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002994/0.1091, allocations: 98.53 kB / 422.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.1093, allocations: 72.8 kB / 422.9 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.1093, allocations: 0 / 422.9 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.1093, allocations: 42.5 kB / 423 MB, free: 7.219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.1093, allocations: 0 / 423 MB, free: 7.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004768/0.1098, allocations: 141.5 kB / 423.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.58e-05/0.1099, allocations: 114.8 kB / 423.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.1101, allocations: 153.5 kB / 423.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.1101, allocations: 25.7 kB / 423.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.955e-05/0.1102, allocations: 124 kB / 423.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.1102, allocations: 27.89 kB / 423.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.169e-05/0.1103, allocations: 33.69 kB / 423.6 MB, free: 6.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1104, allocations: 318.8 kB / 423.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.1106, allocations: 43.97 kB / 423.9 MB, free: 6.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.1107, allocations: 76.2 kB / 424 MB, free: 6.102 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.111, allocations: 110.5 kB / 424.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.111, allocations: 0 / 424.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000348/0.1113, allocations: 141.5 kB / 424.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1113, allocations: 4 kB / 424.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1113, allocations: 4.031 kB / 424.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1113, allocations: 4 kB / 424.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005724/0.1119, allocations: 83.86 kB / 424.4 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/0.1135, allocations: 1.504 MB / 425.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.1137, allocations: 32 kB / 425.9 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.1137, allocations: 4 kB / 425.9 MB, free: 4.059 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.0001195/0.1138, allocations: 118.5 kB / 426 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/0.1138, allocations: 11.95 kB / 426 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004648/0.1143, allocations: 159.1 kB / 426.2 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1143, allocations: 3.938 kB / 426.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.1143, allocations: 4 kB / 426.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1143, allocations: 3.938 kB / 426.2 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007789/0.1151, allocations: 468.5 kB / 426.6 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1151, allocations: 0 / 426.6 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.1152, allocations: 19.98 kB / 426.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002127/0.1154, allocations: 32.83 kB / 426.7 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1154, allocations: 4.031 kB / 426.7 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/0.1167, allocations: 1.399 MB / 428.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1167, allocations: 0 / 428.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005946/0.1173, allocations: 297.1 kB / 428.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.74e-05/0.1173, allocations: 89.03 kB / 428.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.1174, allocations: 7.938 kB / 428.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.1175, allocations: 11.98 kB / 428.5 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.1176, allocations: 12.05 kB / 428.5 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.1176, allocations: 8 kB / 428.5 MB, free: 1.176 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.831e-05/0.1177, allocations: 123.2 kB / 428.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1177, allocations: 0 / 428.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002816/0.118, allocations: 39.89 kB / 428.7 MB, free: 1.016 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.0009364/0.1189, allocations: 0.8271 MB / 429.5 MB, free: 160 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006774/0.1196, allocations: 139.9 kB / 429.6 MB, free: 20 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1196, allocations: 0 / 429.6 MB, free: 20 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003328/0.1199, allocations: 166.9 kB / 429.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.1202, allocations: 12 kB / 429.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003345/0.1235, allocations: 2.115 MB / 431.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.1238, allocations: 0.7119 MB / 432.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.467e-05/0.1239, allocations: 12.55 kB / 432.6 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.212e-05/0.124, allocations: 39.42 kB / 432.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.124, allocations: 0 / 432.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03059/0.1546, allocations: 3.385 MB / 436.1 MB, free: 9.602 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/11.93, allocations: 8 kB / 436.1 MB, free: 9.594 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 & /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 --stepSize=0.0100051 --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) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.61751802591607]