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.001719/0.001719, allocations: 116.5 kB / 16.63 MB, free: 6.945 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.001926/0.001926, allocations: 197.8 kB / 17.55 MB, free: 6.043 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.403/1.403, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001805, allocations: 47.14 kB / 300.2 MB, free: 5.883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1212, allocations: 49.44 MB / 349.7 MB, free: 4.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.00391/0.1252, allocations: 2.087 MB / 351.8 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.1263, allocations: 0.565 MB / 352.3 MB, free: 1.758 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.362e-05/0.1264, allocations: 0 / 352.3 MB, free: 1.758 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.964e-05/0.1265, allocations: 19.84 kB / 352.4 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001562/0.1267, allocations: 31.77 kB / 352.4 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000411/0.1271, allocations: 81.58 kB / 352.5 MB, free: 1.629 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000252/0.1273, allocations: 187.2 kB / 352.6 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.1275, allocations: 61.41 kB / 352.7 MB, free: 1.379 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.1277, allocations: 75.72 kB / 352.8 MB, free: 1.305 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.1278, allocations: 83.59 kB / 352.9 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.237e-05/0.1279, allocations: 16 kB / 352.9 MB, free: 1.207 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.348e-05/0.1279, allocations: 16 kB / 352.9 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.555e-05/0.128, allocations: 27.92 kB / 352.9 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.099e-05/0.1281, allocations: 79.59 kB / 353 MB, free: 1.086 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.1283, allocations: 171.6 kB / 353.2 MB, free: 0.918 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1283, allocations: 0 / 353.2 MB, free: 0.918 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1283, allocations: 4 kB / 353.2 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.1283, allocations: 4 kB / 353.2 MB, free: 0.9102 MB / 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.0008783/0.1292, allocations: 470.8 kB / 353.6 MB, free: 412 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.1293, allocations: 12.03 kB / 353.6 MB, free: 400 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.004e-05/0.1293, allocations: 42.75 kB / 353.7 MB, free: 348 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.101e-05/0.1294, allocations: 16.75 kB / 353.7 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.1296, allocations: 192.1 kB / 353.9 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.1296, allocations: 8.375 kB / 353.9 MB, free: 92 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.1297, allocations: 12.38 kB / 353.9 MB, free: 80 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003919/0.1301, allocations: 155.8 kB / 354.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.1301, allocations: 4 kB / 354.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.1301, allocations: 4 kB / 354.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1301, allocations: 4 kB / 354.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.1304, allocations: 91.94 kB / 354.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.1315, allocations: 0.5148 MB / 354.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.1318, allocations: 102.5 kB / 354.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.132, allocations: 72.97 kB / 354.9 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.1321, allocations: 7.984 kB / 354.9 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.1321, allocations: 38.5 kB / 354.9 MB, free: 15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 2.936e-06/0.1321, allocations: 0 / 354.9 MB, free: 15 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004742/0.1326, allocations: 149.4 kB / 355 MB, free: 14.85 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.1327, allocations: 106.8 kB / 355.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.1328, allocations: 162.2 kB / 355.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.1328, allocations: 25.7 kB / 355.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.037e-05/0.1329, allocations: 119.8 kB / 355.4 MB, free: 14.4 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.133, allocations: 27.64 kB / 355.5 MB, free: 14.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-05/0.133, allocations: 29.7 kB / 355.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1331, allocations: 322.8 kB / 355.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.1333, allocations: 39.98 kB / 355.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.1335, allocations: 76.25 kB / 355.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.1337, allocations: 106.5 kB / 356 MB, free: 13.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1337, allocations: 0 / 356 MB, free: 13.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003547/0.1341, allocations: 153.3 kB / 356.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1341, allocations: 4 kB / 356.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1341, allocations: 0 / 356.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1341, allocations: 8.031 kB / 356.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006291/0.1348, allocations: 79.91 kB / 356.3 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.1363, allocations: 1.5 MB / 357.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.1365, allocations: 27.95 kB / 357.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.1365, allocations: 0 / 357.8 MB, free: 11.85 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.0001145/0.1366, allocations: 121.8 kB / 357.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.1367, allocations: 11.89 kB / 357.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004767/0.1372, allocations: 155.1 kB / 358.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1372, allocations: 3.938 kB / 358.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.1372, allocations: 0 / 358.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1372, allocations: 4 kB / 358.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007747/0.138, allocations: 468 kB / 358.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.138, allocations: 0 / 358.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.1382, allocations: 23.98 kB / 358.6 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002239/0.1384, allocations: 36.8 kB / 358.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.1384, allocations: 4 kB / 358.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.1395, allocations: 1.398 MB / 360 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1395, allocations: 0 / 360 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005928/0.1401, allocations: 301.5 kB / 360.3 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-05/0.1402, allocations: 85.05 kB / 360.4 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.1402, allocations: 7.922 kB / 360.4 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.1404, allocations: 20.05 kB / 360.4 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.1405, allocations: 4 kB / 360.4 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.1405, allocations: 4 kB / 360.4 MB, free: 8.965 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.739e-05/0.1406, allocations: 124.9 kB / 360.5 MB, free: 8.844 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1406, allocations: 0 / 360.5 MB, free: 8.844 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002936/0.1409, allocations: 43.88 kB / 360.6 MB, free: 8.801 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.0009321/0.1418, allocations: 0.8349 MB / 361.4 MB, free: 7.934 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007184/0.1426, allocations: 144 kB / 361.6 MB, free: 7.793 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1426, allocations: 0 / 361.6 MB, free: 7.793 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003092/0.1429, allocations: 162.6 kB / 361.7 MB, free: 7.621 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.1432, allocations: 14.41 kB / 361.7 MB, free: 7.609 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.1464, allocations: 2.136 MB / 363.9 MB, free: 5.375 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.1466, allocations: 0.7157 MB / 364.6 MB, free: 4.633 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.273e-05/0.1467, allocations: 12.42 kB / 364.6 MB, free: 4.621 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.192e-05/0.1468, allocations: 39.41 kB / 364.6 MB, free: 4.582 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1468, allocations: 4 kB / 364.6 MB, free: 4.578 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01868/0.1655, allocations: 3.158 MB / 367.8 MB, free: 1.594 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/0.1657, allocations: 251 kB / 368 MB, free: 1.332 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.937/2.103, allocations: 0 / 368 MB, free: 1.332 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