Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.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.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",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.001957/0.001957, allocations: 110.2 kB / 17.06 MB, free: 5.785 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.00201/0.002011, allocations: 193.4 kB / 18.01 MB, free: 4.941 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.425/1.425, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 51.92 kB / 350.8 MB, free: 3.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2834, allocations: 49.43 MB / 400.2 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03179/0.3152, allocations: 28.6 MB / 428.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01569/0.3309, allocations: 7.133 MB / 436 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005452/0.3364, allocations: 263.2 kB / 436.2 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02973/0.3663, allocations: 13.09 MB / 449.3 MB, free: 7.527 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01138/0.3777, allocations: 2.683 MB / 452 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007525/0.3852, allocations: 1.858 MB / 453.9 MB, free: 2.984 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02489/0.4101, allocations: 18.1 MB / 472 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08233/0.4925, allocations: 44.45 MB / 0.5043 GB, free: 4.145 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01651/0.509, allocations: 9.932 MB / 0.514 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01974/0.5288, allocations: 11.05 MB / 0.5248 GB, free: 15.11 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01007/0.5389, allocations: 2.918 MB / 0.5277 GB, free: 12.19 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01165/0.5506, allocations: 3.175 MB / 0.5308 GB, free: 9.016 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01179/0.5625, allocations: 5.472 MB / 0.5361 GB, free: 3.531 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.5017/1.064, allocations: 10.82 MB / 0.5467 GB, free: 59.56 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0378/1.102, allocations: 39.07 MB / 0.5848 GB, free: 44.84 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/1.102, allocations: 4 kB / 0.5848 GB, free: 44.84 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.324e-06/1.102, allocations: 0 / 0.5848 GB, free: 44.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001205/1.103, allocations: 0 / 0.5848 GB, free: 44.84 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.06791/1.171, allocations: 22.31 MB / 0.6066 GB, free: 31.06 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/1.171, allocations: 11.69 kB / 0.6066 GB, free: 31.05 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01281/1.184, allocations: 2.96 MB / 0.6095 GB, free: 29.23 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04415/1.228, allocations: 8.409 MB / 0.6177 GB, free: 21.2 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02115/1.25, allocations: 11.66 MB / 0.6291 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001036/1.251, allocations: 1.339 MB / 0.6304 GB, free: 8.738 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006843/1.257, allocations: 1.763 MB / 0.6322 GB, free: 6.988 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07972/1.337, allocations: 28.72 MB / 0.6602 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000708/1.338, allocations: 24.64 kB / 0.6602 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006284/1.344, allocations: 0.7245 MB / 0.6609 GB, free: 9.484 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009643/1.345, allocations: 0.8454 MB / 0.6618 GB, free: 8.637 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06035/1.406, allocations: 24.78 MB / 0.686 GB, free: 15.84 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4236/1.829, allocations: 87.12 MB / 0.771 GB, free: 151.9 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02886/1.858, allocations: 35.13 MB / 0.8053 GB, free: 124.4 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009056/1.867, allocations: 5.438 MB / 0.8106 GB, free: 124.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005262/1.868, allocations: 208.6 kB / 0.8108 GB, free: 124.2 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.95e-05/1.868, allocations: 96.39 kB / 0.8109 GB, free: 124.1 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 7.615e-06/1.868, allocations: 0 / 0.8109 GB, free: 124.1 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.03184/1.9, allocations: 14.76 MB / 0.8253 GB, free: 123.3 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.425e-05/1.9, allocations: 138.9 kB / 0.8255 GB, free: 123.2 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01183/1.912, allocations: 6.43 MB / 0.8318 GB, free: 122.8 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001413/1.913, allocations: 116.6 kB / 0.8319 GB, free: 122.8 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.005769/1.919, allocations: 7.905 MB / 0.8396 GB, free: 116.9 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.003181/1.922, allocations: 2.115 MB / 0.8417 GB, free: 115.1 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003653/1.926, allocations: 2.095 MB / 0.8437 GB, free: 113.9 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.623e-05/1.926, allocations: 301.1 kB / 0.844 GB, free: 113.6 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007315/1.933, allocations: 4.738 MB / 0.8486 GB, free: 111.1 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009307/1.943, allocations: 9.467 MB / 0.8579 GB, free: 102.1 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01625/1.959, allocations: 15.3 MB / 0.8728 GB, free: 85.68 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001673/1.959, allocations: 52 kB / 0.8729 GB, free: 85.63 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02818/1.987, allocations: 15.4 MB / 0.8879 GB, free: 70.15 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002152/1.988, allocations: 79.94 kB / 0.888 GB, free: 70.07 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002777/1.988, allocations: 156 kB / 0.8881 GB, free: 69.92 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005428/1.993, allocations: 1.661 MB / 0.8897 GB, free: 68.25 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008496/2.002, allocations: 2.353 MB / 0.892 GB, free: 65.9 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01435/2.016, allocations: 11.61 MB / 0.9034 GB, free: 54.15 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009093/2.025, allocations: 1.385 MB / 0.9047 GB, free: 52.76 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002252/2.028, allocations: 0.531 MB / 0.9052 GB, free: 52.23 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (1243): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 1 system {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01488/2.043, allocations: 7.141 MB / 0.9122 GB, free: 45.07 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002017/2.045, allocations: 0.6403 MB / 0.9128 GB, free: 44.43 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01841/2.063, allocations: 10.11 MB / 0.9227 GB, free: 34.2 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01065/2.074, allocations: 7.765 MB / 0.9303 GB, free: 26.35 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.003e-05/2.074, allocations: 12 kB / 0.9303 GB, free: 26.34 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.924e-05/2.074, allocations: 31.83 kB / 0.9303 GB, free: 26.31 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05462/2.128, allocations: 25.45 MB / 0.9552 GB, free: 0.6719 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.73e-05/2.129, allocations: 11.94 kB / 0.9552 GB, free: 0.6602 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004453/2.133, allocations: 1.006 MB / 0.9562 GB, free: 15.65 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005826/2.139, allocations: 1.465 MB / 0.9576 GB, free: 14.18 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001153/2.14, allocations: 120 kB / 0.9577 GB, free: 14.07 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01891/2.159, allocations: 11.17 MB / 0.9686 GB, free: 2.777 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-05/2.159, allocations: 15.88 kB / 0.9687 GB, free: 2.762 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3057/2.465, allocations: 14.11 MB / 0.9824 GB, free: 186.2 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003364/2.468, allocations: 1.476 MB / 0.9839 GB, free: 185.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009422/2.469, allocations: 110.2 kB / 0.984 GB, free: 185.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002876/2.472, allocations: 321.7 kB / 0.9843 GB, free: 185.8 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008938/2.473, allocations: 403.4 kB / 0.9847 GB, free: 185.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003753/2.473, allocations: 164.7 kB / 0.9848 GB, free: 185.8 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.007609/2.481, allocations: 4.307 MB / 0.989 GB, free: 185.4 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3e-07/2.481, allocations: 3.938 kB / 0.9891 GB, free: 185.4 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01201/2.493, allocations: 4.089 MB / 0.993 GB, free: 184.1 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 1 (source.plug_p.reference.gamma) * 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 (528): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 1 system {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01771/2.511, allocations: 14.93 MB / 1.008 GB, free: 177.1 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01564/2.526, allocations: 11.37 MB / 1.019 GB, free: 172.8 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/2.526, allocations: 3.938 kB / 1.019 GB, free: 172.8 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.006287/2.533, allocations: 4.646 MB / 1.023 GB, free: 170.9 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00775/2.541, allocations: 1.578 MB / 1.025 GB, free: 169.7 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1391/2.68, allocations: 94.62 MB / 1.117 GB, free: 74.04 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01984/2.7, allocations: 11.26 MB / 1.128 GB, free: 62.73 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.009528/2.709, allocations: 3.766 MB / 1.132 GB, free: 58.95 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01079/2.72, allocations: 5.916 MB / 1.138 GB, free: 53.04 MB / 0.5763 GB Notification: Performance of SimCode: time 1.653e-06/2.72, allocations: 4 kB / 1.138 GB, free: 53.03 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5321/3.252, allocations: 206.5 MB / 1.339 GB, free: 76.64 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.41/30.66, allocations: 11.58 kB / 1.339 GB, free: 76.62 MB / 0.5763 GB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches