Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001319/0.001319, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001477/0.001477, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 59.44 kB / 307.1 MB, free: 0.5078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08768/0.08884, allocations: 50.52 MB / 357.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.1956/0.2845, allocations: 28.61 MB / 386.2 MB, free: 5.281 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01557/0.3001, allocations: 7.192 MB / 393.4 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006883/0.307, allocations: 263.2 kB / 393.6 MB, free: 456 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02703/0.3341, allocations: 13.1 MB / 406.7 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.345, allocations: 2.528 MB / 409.3 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005971/0.351, allocations: 2.044 MB / 411.3 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02059/0.3716, allocations: 18.14 MB / 429.4 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06982/0.4414, allocations: 44.64 MB / 474.1 MB, free: 7.254 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01631/0.4578, allocations: 9.911 MB / 484 MB, free: 13.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01575/0.4736, allocations: 11.07 MB / 495.1 MB, free: 2.223 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006862/0.4805, allocations: 2.918 MB / 498 MB, free: 15.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01029/0.4908, allocations: 3.195 MB / 0.4894 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01259/0.5034, allocations: 5.48 MB / 0.4948 GB, free: 6.617 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02936/0.5328, allocations: 10.82 MB / 0.5053 GB, free: 11.76 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4037/0.9365, allocations: 38.8 MB / 0.5432 GB, free: 83.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.9366, allocations: 0 / 0.5432 GB, free: 83.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.9366, allocations: 0 / 0.5432 GB, free: 83.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.00079/0.9374, allocations: 0 / 0.5432 GB, free: 83.32 MB / 446.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.06267/1, allocations: 21.93 MB / 0.5647 GB, free: 74.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/1, allocations: 11.59 kB / 0.5647 GB, free: 74.05 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01009/1.01, allocations: 2.962 MB / 0.5676 GB, free: 72.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04385/1.054, allocations: 8.354 MB / 0.5757 GB, free: 68.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02128/1.075, allocations: 11.27 MB / 0.5867 GB, free: 59.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009491/1.076, allocations: 1.345 MB / 0.588 GB, free: 57.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006698/1.083, allocations: 1.755 MB / 0.5897 GB, free: 55.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05182/1.135, allocations: 28.72 MB / 0.6178 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003575/1.135, allocations: 19.81 kB / 0.6178 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003623/1.139, allocations: 0.7283 MB / 0.6185 GB, free: 26.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004588/1.139, allocations: 0.8451 MB / 0.6194 GB, free: 25.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03683/1.176, allocations: 24.79 MB / 0.6436 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2874/1.464, allocations: 88.41 MB / 0.7299 GB, free: 153.7 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0196/1.483, allocations: 35.12 MB / 0.7642 GB, free: 126.3 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006232/1.49, allocations: 5.292 MB / 0.7694 GB, free: 126.2 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003618/1.49, allocations: 294.5 kB / 0.7696 GB, free: 126 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/1.49, allocations: 95.27 kB / 0.7697 GB, free: 126 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=577): time 6.683e-06/1.49, allocations: 0 / 0.7697 GB, free: 126 MB / 0.5138 GB Notification: Performance of matching and sorting (n=577): time 0.03007/1.52, allocations: 14.74 MB / 0.7841 GB, free: 125.2 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.006e-05/1.52, allocations: 137.7 kB / 0.7843 GB, free: 125.1 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01145/1.532, allocations: 6.412 MB / 0.7905 GB, free: 124.7 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0009564/1.533, allocations: 119.4 kB / 0.7906 GB, free: 124.7 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003768/1.536, allocations: 7.613 MB / 0.7981 GB, free: 120.4 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001832/1.538, allocations: 2.018 MB / 0.8 GB, free: 119.1 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002523/1.541, allocations: 2.083 MB / 0.8021 GB, free: 119 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 3.675e-05/1.541, allocations: 305.1 kB / 0.8024 GB, free: 118.7 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005511/1.546, allocations: 4.742 MB / 0.807 GB, free: 118 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007656/1.554, allocations: 9.467 MB / 0.8162 GB, free: 110 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01405/1.568, allocations: 15.3 MB / 0.8312 GB, free: 94.14 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001392/1.568, allocations: 44 kB / 0.8312 GB, free: 94.09 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.0222/1.59, allocations: 15.38 MB / 0.8462 GB, free: 78.63 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.000102/1.591, allocations: 72 kB / 0.8463 GB, free: 78.56 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002171/1.591, allocations: 160 kB / 0.8465 GB, free: 78.4 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004767/1.596, allocations: 1.665 MB / 0.8481 GB, free: 76.73 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007175/1.603, allocations: 2.352 MB / 0.8504 GB, free: 74.38 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0127/1.616, allocations: 11.6 MB / 0.8617 GB, free: 62.65 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008248/1.624, allocations: 1.354 MB / 0.863 GB, free: 61.29 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00184/1.626, allocations: 0.5312 MB / 0.8636 GB, free: 60.75 MB / 0.5138 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.0102/1.636, allocations: 7.141 MB / 0.8705 GB, free: 53.59 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001395/1.637, allocations: 0.6056 MB / 0.8711 GB, free: 52.98 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0128/1.65, allocations: 10.12 MB / 0.881 GB, free: 42.75 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00904/1.659, allocations: 7.765 MB / 0.8886 GB, free: 34.89 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2e-05/1.659, allocations: 12 kB / 0.8886 GB, free: 34.88 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.527e-05/1.659, allocations: 27.89 kB / 0.8886 GB, free: 34.86 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04164/1.701, allocations: 26.23 MB / 0.9142 GB, free: 8.141 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.036e-05/1.701, allocations: 10.19 kB / 0.9143 GB, free: 8.133 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003559/1.705, allocations: 1.006 MB / 0.9152 GB, free: 7.125 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004356/1.709, allocations: 1.47 MB / 0.9167 GB, free: 5.648 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005591/1.71, allocations: 132 kB / 0.9168 GB, free: 5.52 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1948/1.904, allocations: 11.15 MB / 0.9277 GB, free: 163.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/1.904, allocations: 13.41 kB / 0.9277 GB, free: 163.8 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01727/1.922, allocations: 14.1 MB / 0.9415 GB, free: 160.4 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002813/1.924, allocations: 1.435 MB / 0.9429 GB, free: 159.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000994/1.925, allocations: 111.3 kB / 0.943 GB, free: 159.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002655/1.928, allocations: 324.3 kB / 0.9433 GB, free: 159.4 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006889/1.929, allocations: 402.7 kB / 0.9437 GB, free: 159.4 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002874/1.929, allocations: 164.6 kB / 0.9438 GB, free: 159.3 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005702/1.935, allocations: 4.31 MB / 0.948 GB, free: 157.8 MB / 0.5138 GB Notification: Performance of sort global known variables: time 7.41e-07/1.935, allocations: 0 / 0.948 GB, free: 157.8 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01144/1.946, allocations: 4.03 MB / 0.952 GB, free: 156.5 MB / 0.5138 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.01765/1.964, allocations: 14.89 MB / 0.9665 GB, free: 149.6 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.04811/2.012, allocations: 26.55 MB / 0.9924 GB, free: 128.2 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-05/2.012, allocations: 3.5 kB / 0.9924 GB, free: 128.2 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.006709/2.019, allocations: 4.647 MB / 0.997 GB, free: 124.2 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007767/2.027, allocations: 1.558 MB / 0.9985 GB, free: 123 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1251/2.152, allocations: 113.4 MB / 1.109 GB, free: 4.137 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.178/2.33, allocations: 11.26 MB / 1.12 GB, free: 181.5 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.01049/2.34, allocations: 3.777 MB / 1.124 GB, free: 181.2 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007832/2.348, allocations: 5.916 MB / 1.13 GB, free: 178.9 MB / 0.5138 GB Notification: Performance of SimCode: time 6.11e-07/2.348, allocations: 5.312 kB / 1.13 GB, free: 178.9 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.378/7.726, allocations: 208.1 MB / 1.333 GB, free: 151.1 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.26/24.98, allocations: 17.61 kB / 1.333 GB, free: 151.1 MB / 0.5138 GB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches