Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001662/0.001662, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.79/2.79, allocations: 205.4 MB / 223.6 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001465/0.001466, allocations: 81.44 kB / 271.9 MB, free: 8.273 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000502/0.0005023, allocations: 12 kB / 328.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.441/0.4416, allocations: 47.57 MB / 375.7 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2088/0.6505, allocations: 102.4 MB / 478.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003736/0.6509, allocations: 91.95 kB / 478.2 MB, free: 10.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.954/5.604, allocations: 0.812 GB / 1.279 GB, free: 37.39 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.245e-06/5.605, allocations: 0 / 1.279 GB, free: 37.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.004501/5.609, allocations: 398.8 kB / 1.279 GB, free: 37.33 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.1234/5.733, allocations: 16.9 MB / 1.296 GB, free: 32.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001005/5.733, allocations: 14.25 kB / 1.296 GB, free: 32.31 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08849/5.821, allocations: 8.683 MB / 1.304 GB, free: 30.85 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05843/5.88, allocations: 12.07 MB / 1.316 GB, free: 21.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004363/5.884, allocations: 1.341 MB / 1.318 GB, free: 19.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01757/5.902, allocations: 1.72 MB / 1.319 GB, free: 18.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 1.423/7.325, allocations: 32.32 MB / 1.351 GB, free: 33.48 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001516/7.327, allocations: 24.41 kB / 1.351 GB, free: 33.48 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01535/7.342, allocations: 0.7378 MB / 1.352 GB, free: 33.48 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003639/7.346, allocations: 1.256 MB / 1.353 GB, free: 33.44 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1215/7.467, allocations: 28.11 MB / 1.38 GB, free: 33.28 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2225/7.69, allocations: 96.72 MB / 1.475 GB, free: 0.5742 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04612/7.736, allocations: 34.68 MB / 1.509 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02765/7.764, allocations: 15.24 MB / 1.523 GB, free: 2.457 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4223/8.186, allocations: 47.29 MB / 1.57 GB, free: 81.66 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.584e-05/8.186, allocations: 148.3 kB / 1.57 GB, free: 81.61 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=1454): time 1.505e-05/8.186, allocations: 0 / 1.57 GB, free: 81.61 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1454): time 0.2357/8.422, allocations: 79.25 MB / 1.647 GB, free: 76.51 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.084e-05/8.422, allocations: 194.2 kB / 1.647 GB, free: 76.4 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005311/8.428, allocations: 4.41 MB / 1.652 GB, free: 76.11 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001772/8.429, allocations: 203.2 kB / 1.652 GB, free: 76.08 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002472/8.432, allocations: 6.111 MB / 1.658 GB, free: 73.57 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.006232/8.438, allocations: 4.764 MB / 1.662 GB, free: 70.46 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001486/8.44, allocations: 237.5 kB / 1.663 GB, free: 70.46 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.001036/8.441, allocations: 0.8925 MB / 1.664 GB, free: 70.13 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01568/8.456, allocations: 9.907 MB / 1.673 GB, free: 67.32 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01884/8.475, allocations: 12.36 MB / 1.685 GB, free: 58.64 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03895/8.514, allocations: 23.34 MB / 1.708 GB, free: 37.24 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001001/8.514, allocations: 16 kB / 1.708 GB, free: 37.22 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1803) (initialization): time 0.3338/8.848, allocations: 29.64 MB / 1.737 GB, free: 76.29 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 5.589e-05/8.848, allocations: 36.03 kB / 1.737 GB, free: 76.29 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001399/8.848, allocations: 63.56 kB / 1.737 GB, free: 76.29 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01489/8.863, allocations: 10.48 MB / 1.747 GB, free: 76.02 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007038/8.87, allocations: 1.947 MB / 1.749 GB, free: 76.02 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02086/8.891, allocations: 21.27 MB / 1.77 GB, free: 72.22 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009727/8.901, allocations: 1.42 MB / 1.771 GB, free: 72.22 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003732/8.905, allocations: 0.5265 MB / 1.772 GB, free: 72.22 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 275 * 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 (1062): * Single equations (assignments): 909 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 146 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {6 9,6 9,6 9,6 9,54 290,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0177/8.922, allocations: 7.215 MB / 1.779 GB, free: 72.11 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002652/8.925, allocations: 0.726 MB / 1.78 GB, free: 71.91 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04112/8.966, allocations: 27.96 MB / 1.807 GB, free: 71.38 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03786/9.004, allocations: 25.53 MB / 1.832 GB, free: 65.86 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.107e-05/9.004, allocations: 6.469 kB / 1.832 GB, free: 65.86 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001737/9.004, allocations: 54.05 kB / 1.832 GB, free: 65.86 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08256/9.087, allocations: 52.31 MB / 1.883 GB, free: 41.12 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.416e-05/9.087, allocations: 0 / 1.883 GB, free: 41.12 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005683/9.093, allocations: 1.36 MB / 1.884 GB, free: 40.1 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01471/9.107, allocations: 10.37 MB / 1.894 GB, free: 31.33 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00207/9.11, allocations: 301.1 kB / 1.895 GB, free: 31.07 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01944/9.129, allocations: 21.16 MB / 1.915 GB, free: 12.06 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/9.129, allocations: 0 / 1.915 GB, free: 12.06 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3494/9.479, allocations: 41.66 MB / 1.956 GB, free: 81.55 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007401/9.486, allocations: 3.151 MB / 1.959 GB, free: 81.07 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00193/9.488, allocations: 182.8 kB / 1.959 GB, free: 81.07 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004315/9.492, allocations: 0.5052 MB / 1.96 GB, free: 81.07 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001841/9.494, allocations: 1.063 MB / 1.961 GB, free: 81.06 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008632/9.495, allocations: 377.8 kB / 1.961 GB, free: 81.06 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.003702/9.499, allocations: 2.966 MB / 1.964 GB, free: 80.88 MB / 0.5262 GB Notification: Performance of sort global known variables: time 2.31e-07/9.499, allocations: 5.5 kB / 1.964 GB, free: 80.88 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.00974/9.508, allocations: 4.357 MB / 1.968 GB, free: 80.02 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensorL.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 (756): * Single equations (assignments): 603 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 146 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {6 9,6 9,6 9,6 9,54 290,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001393/9.51, allocations: 452.2 kB / 1.969 GB, free: 79.93 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.03249/9.542, allocations: 23.79 MB / 1.992 GB, free: 79.5 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/9.542, allocations: 0 / 1.992 GB, free: 79.5 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.01806/9.56, allocations: 12.29 MB / 2.004 GB, free: 79.19 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01106/9.572, allocations: 1.53 MB / 2.006 GB, free: 78.69 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08285/9.654, allocations: 45.82 MB / 2.05 GB, free: 55.73 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01752/9.672, allocations: 11.67 MB / 2.062 GB, free: 48.36 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003432/9.675, allocations: 0.5587 MB / 2.062 GB, free: 47.83 MB / 0.5262 GB Notification: Performance of SimCode: time 1.222e-06/9.675, allocations: 4 kB / 2.062 GB, free: 47.83 MB / 0.5262 GB Notification: Performance of Templates: time 3.909/13.58, allocations: 0.9589 GB / 3.021 GB, free: 135.5 MB / 0.5887 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches