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.001266/0.001266, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001425/0.001425, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 59.89 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2812, allocations: 50.54 MB / 408.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.0318/0.3131, allocations: 28.62 MB / 437.4 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01717/0.3303, allocations: 7.187 MB / 444.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006682/0.337, allocations: 263.2 kB / 444.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02876/0.3658, allocations: 13.11 MB / 457.9 MB, free: 180 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01184/0.3777, allocations: 2.52 MB / 460.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006948/0.3847, allocations: 2.032 MB / 462.5 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02151/0.4062, allocations: 18.29 MB / 480.8 MB, free: 9.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06767/0.4739, allocations: 44.45 MB / 0.5129 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01604/0.49, allocations: 9.943 MB / 0.5226 GB, free: 2.641 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01766/0.5077, allocations: 11.07 MB / 0.5334 GB, free: 7.535 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007193/0.5149, allocations: 2.922 MB / 0.5363 GB, free: 4.613 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009443/0.5244, allocations: 3.191 MB / 0.5394 GB, free: 1.422 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.4313/0.9557, allocations: 5.476 MB / 0.5447 GB, free: 59.71 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02274/0.9785, allocations: 10.82 MB / 0.5553 GB, free: 58.85 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04131/1.02, allocations: 39.01 MB / 0.5934 GB, free: 38.65 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/1.02, allocations: 0 / 0.5934 GB, free: 38.65 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.773e-06/1.02, allocations: 0.8125 kB / 0.5934 GB, free: 38.65 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001162/1.021, allocations: 0 / 0.5934 GB, free: 38.65 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.06544/1.087, allocations: 21.94 MB / 0.6148 GB, free: 25.11 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/1.087, allocations: 10.31 kB / 0.6149 GB, free: 25.11 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01218/1.099, allocations: 2.96 MB / 0.6177 GB, free: 22.5 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0433/1.142, allocations: 8.359 MB / 0.6259 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02536/1.168, allocations: 11.63 MB / 0.6373 GB, free: 3 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001303/1.169, allocations: 1.35 MB / 0.6386 GB, free: 1.664 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007262/1.176, allocations: 1.753 MB / 0.6403 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08092/1.257, allocations: 28.72 MB / 0.6683 GB, free: 3.156 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001063/1.258, allocations: 15.91 kB / 0.6684 GB, free: 3.141 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008181/1.266, allocations: 0.7283 MB / 0.6691 GB, free: 2.426 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001011/1.267, allocations: 0.8493 MB / 0.6699 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06164/1.329, allocations: 24.79 MB / 0.6941 GB, free: 8.77 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4374/1.767, allocations: 87.27 MB / 0.7793 GB, free: 142 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02267/1.789, allocations: 35.14 MB / 0.8136 GB, free: 114.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007729/1.797, allocations: 5.449 MB / 0.819 GB, free: 114.4 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005286/1.798, allocations: 287.2 kB / 0.8192 GB, free: 114.2 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.573e-05/1.798, allocations: 94.8 kB / 0.8193 GB, free: 114.2 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 7.194e-06/1.798, allocations: 0 / 0.8193 GB, free: 114.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.0308/1.828, allocations: 14.73 MB / 0.8337 GB, free: 113.3 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/1.829, allocations: 136.7 kB / 0.8338 GB, free: 113.2 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009502/1.838, allocations: 6.423 MB / 0.8401 GB, free: 111 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001032/1.839, allocations: 118.6 kB / 0.8402 GB, free: 110.9 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004435/1.844, allocations: 7.615 MB / 0.8477 GB, free: 104.2 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.00253/1.846, allocations: 2.015 MB / 0.8496 GB, free: 102.5 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003359/1.85, allocations: 2.083 MB / 0.8517 GB, free: 101.3 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.326e-05/1.85, allocations: 305.1 kB / 0.8519 GB, free: 101 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00572/1.855, allocations: 4.735 MB / 0.8566 GB, free: 98.5 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008505/1.864, allocations: 9.462 MB / 0.8658 GB, free: 89.5 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01677/1.881, allocations: 15.3 MB / 0.8808 GB, free: 72.29 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002011/1.881, allocations: 44 kB / 0.8808 GB, free: 72.25 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02671/1.908, allocations: 15.38 MB / 0.8958 GB, free: 56.79 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002233/1.908, allocations: 75.94 kB / 0.8959 GB, free: 56.71 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000326/1.908, allocations: 160 kB / 0.896 GB, free: 56.55 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00505/1.913, allocations: 1.665 MB / 0.8977 GB, free: 54.89 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008168/1.921, allocations: 2.344 MB / 0.9 GB, free: 52.54 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01294/1.934, allocations: 11.6 MB / 0.9113 GB, free: 40.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009443/1.944, allocations: 1.347 MB / 0.9126 GB, free: 39.45 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002711/1.947, allocations: 0.5312 MB / 0.9131 GB, free: 38.91 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.01469/1.961, allocations: 7.149 MB / 0.9201 GB, free: 31.75 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001434/1.963, allocations: 0.6133 MB / 0.9207 GB, free: 31.12 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01379/1.977, allocations: 10.1 MB / 0.9306 GB, free: 20.91 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009816/1.986, allocations: 7.765 MB / 0.9381 GB, free: 13.06 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.972e-05/1.986, allocations: 12 kB / 0.9382 GB, free: 13.05 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.63e-05/1.987, allocations: 31.83 kB / 0.9382 GB, free: 13.02 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05236/2.039, allocations: 25.68 MB / 0.9633 GB, free: 3.086 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.402e-05/2.039, allocations: 8 kB / 0.9633 GB, free: 3.078 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004086/2.043, allocations: 1.014 MB / 0.9643 GB, free: 2.062 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005297/2.048, allocations: 1.465 MB / 0.9657 GB, free: 0.5938 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007919/2.049, allocations: 120 kB / 0.9658 GB, free: 488 kB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2804/2.33, allocations: 11.14 MB / 0.9767 GB, free: 182.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/2.33, allocations: 12.41 kB / 0.9767 GB, free: 182.5 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01978/2.349, allocations: 14.1 MB / 0.9905 GB, free: 176.7 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004204/2.354, allocations: 1.431 MB / 0.9919 GB, free: 175.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001254/2.355, allocations: 105.5 kB / 0.992 GB, free: 175.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003222/2.358, allocations: 329.3 kB / 0.9923 GB, free: 175.7 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008166/2.359, allocations: 398.7 kB / 0.9927 GB, free: 175.6 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003165/2.359, allocations: 168.3 kB / 0.9928 GB, free: 175.6 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006583/2.366, allocations: 4.304 MB / 0.997 GB, free: 174.1 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.8e-07/2.366, allocations: 0 / 0.997 GB, free: 174.1 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01437/2.38, allocations: 4.034 MB / 1.001 GB, free: 172.8 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.01877/2.399, allocations: 14.89 MB / 1.016 GB, free: 165.9 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01632/2.415, allocations: 11.37 MB / 1.027 GB, free: 157.7 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.715e-05/2.416, allocations: 7.5 kB / 1.027 GB, free: 157.7 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007637/2.423, allocations: 4.64 MB / 1.031 GB, free: 153.7 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009709/2.433, allocations: 1.553 MB / 1.033 GB, free: 152.4 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.142/2.575, allocations: 94.15 MB / 1.125 GB, free: 55.35 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02283/2.598, allocations: 11.26 MB / 1.136 GB, free: 44.04 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.01051/2.608, allocations: 3.766 MB / 1.139 GB, free: 40.26 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01134/2.62, allocations: 5.916 MB / 1.145 GB, free: 34.35 MB / 0.5763 GB Notification: Performance of SimCode: time 1.763e-06/2.62, allocations: 3.938 kB / 1.145 GB, free: 34.34 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5347/3.155, allocations: 206.3 MB / 1.347 GB, free: 78.55 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.51/30.66, allocations: 0 / 1.347 GB, free: 78.55 MB / 0.5919 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