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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008189/0.0008189, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.005306/0.005306, allocations: 163.1 kB / 24.69 MB, free: 9.41 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8898/0.8898, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.697e-05/1.877e-05, allocations: 2.281 kB / 298.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002122/0.002141, allocations: 1.921 MB / 300.4 MB, free: 1.562 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007717/0.002913, allocations: 0.589 MB / 301 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.47e-05/0.002977, allocations: 8 kB / 301 MB, free: 0.957 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.985e-05/0.003027, allocations: 19.8 kB / 301 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.003139, allocations: 47.56 kB / 301 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.003479, allocations: 95.67 kB / 301.1 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.003634, allocations: 187.2 kB / 301.3 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.003774, allocations: 33.66 kB / 301.3 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.003932, allocations: 115.7 kB / 301.5 MB, free: 476 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.838e-05/0.004001, allocations: 63.8 kB / 301.5 MB, free: 412 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.004031, allocations: 16 kB / 301.5 MB, free: 396 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.769e-05/0.004049, allocations: 16 kB / 301.5 MB, free: 380 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.484e-05/0.004073, allocations: 31.86 kB / 301.6 MB, free: 348 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.494e-05/0.004118, allocations: 59.83 kB / 301.6 MB, free: 288 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.004276, allocations: 175.5 kB / 301.8 MB, free: 112 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.412e-06/0.004277, allocations: 0 / 301.8 MB, free: 112 kB / 282.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004278, allocations: 0 / 301.8 MB, free: 112 kB / 282.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.004282, allocations: 0 / 301.8 MB, free: 112 kB / 282.7 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.1341/0.1384, allocations: 396.7 kB / 302.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.1384, allocations: 16.86 kB / 302.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.418e-05/0.1385, allocations: 42.17 kB / 302.3 MB, free: 15.91 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.1385, allocations: 16.91 kB / 302.3 MB, free: 15.9 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.1386, allocations: 136.5 kB / 302.4 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.1386, allocations: 9.156 kB / 302.4 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.1387, allocations: 12.25 kB / 302.4 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.1389, allocations: 203 kB / 302.6 MB, free: 15.65 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1389, allocations: 4.594 kB / 302.6 MB, free: 15.65 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.139, allocations: 5.594 kB / 302.6 MB, free: 15.65 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.139, allocations: 6 kB / 302.6 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.1391, allocations: 89.75 kB / 302.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005394/0.1397, allocations: 453.9 kB / 303.2 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.1398, allocations: 103.1 kB / 303.3 MB, free: 15.28 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.14, allocations: 65.34 kB / 303.3 MB, free: 15.26 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.14, allocations: 5.672 kB / 303.3 MB, free: 15.26 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.14, allocations: 35.72 kB / 303.4 MB, free: 15.22 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.14, allocations: 0 / 303.4 MB, free: 15.22 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002938/0.1403, allocations: 143.7 kB / 303.5 MB, free: 15.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.1403, allocations: 109.7 kB / 303.6 MB, free: 15.03 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.374e-05/0.1404, allocations: 159.1 kB / 303.8 MB, free: 14.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.1404, allocations: 30.45 kB / 303.8 MB, free: 14.88 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.93e-05/0.1405, allocations: 124.5 kB / 303.9 MB, free: 14.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.1405, allocations: 26.27 kB / 304 MB, free: 14.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.1405, allocations: 34.45 kB / 304 MB, free: 14.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.399e-05/0.1406, allocations: 321.7 kB / 304.3 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.907e-05/0.1406, allocations: 37.2 kB / 304.3 MB, free: 14.4 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.017e-05/0.1407, allocations: 130.6 kB / 304.5 MB, free: 14.29 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.1409, allocations: 102.2 kB / 304.6 MB, free: 14.24 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1409, allocations: 0.6562 kB / 304.6 MB, free: 14.24 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001887/0.1411, allocations: 148.4 kB / 304.7 MB, free: 14.17 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.1411, allocations: 10.5 kB / 304.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1411, allocations: 0 / 304.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1411, allocations: 2.609 kB / 304.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003219/0.1414, allocations: 88.36 kB / 304.8 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006704/0.1421, allocations: 1.4 MB / 306.2 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.33e-05/0.1422, allocations: 15.73 kB / 306.2 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.1422, allocations: 3.234 kB / 306.2 MB, free: 12.78 MB / 282.7 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 6.093e-05/0.1422, allocations: 129.7 kB / 306.4 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.1423, allocations: 14.22 kB / 306.4 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.1425, allocations: 158.2 kB / 306.5 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1425, allocations: 1.281 kB / 306.5 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.1425, allocations: 0 / 306.5 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1425, allocations: 0.7969 kB / 306.5 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003843/0.1429, allocations: 423.6 kB / 306.9 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1429, allocations: 0 / 306.9 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.929e-05/0.143, allocations: 22.48 kB / 307 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001255/0.1431, allocations: 33.3 kB / 307 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.1431, allocations: 6.625 kB / 307 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004601/0.1436, allocations: 1.277 MB / 308.3 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1436, allocations: 2.016 kB / 308.3 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.1439, allocations: 296.2 kB / 308.6 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.1439, allocations: 16.61 kB / 308.6 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.1439, allocations: 8.219 kB / 308.6 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.798e-05/0.144, allocations: 17.23 kB / 308.6 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.144, allocations: 11.84 kB / 308.6 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.144, allocations: 6.828 kB / 308.6 MB, free: 10.72 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.053e-05/0.1441, allocations: 117.8 kB / 308.7 MB, free: 10.64 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1441, allocations: 0 / 308.7 MB, free: 10.64 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000194/0.1443, allocations: 39.56 kB / 308.8 MB, free: 10.63 MB / 282.7 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.000407/0.1447, allocations: 0.8243 MB / 309.6 MB, free: 9.906 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003609/0.145, allocations: 144.7 kB / 309.7 MB, free: 9.875 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.145, allocations: 0 / 309.7 MB, free: 9.875 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.1452, allocations: 164.1 kB / 309.9 MB, free: 9.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.1454, allocations: 7.969 kB / 309.9 MB, free: 9.746 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.1472, allocations: 2.063 MB / 312 MB, free: 8.219 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.143e-05/0.1472, allocations: 96.17 kB / 312.1 MB, free: 8.145 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.2e-05/0.1473, allocations: 18.58 kB / 312.1 MB, free: 8.141 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.467e-05/0.1473, allocations: 43.86 kB / 312.1 MB, free: 8.105 MB / 282.7 MB Notification: Performance of SimCode: time 1.222e-06/0.1473, allocations: 0 / 312.1 MB, free: 8.105 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/0.1671, allocations: 4.079 MB / 316.2 MB, free: 6.82 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.069/8.236, allocations: 9.297 kB / 316.2 MB, free: 6.812 MB / 282.7 MB " [Timeout remaining time 652] (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) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 9.921700129285455]