Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001298/0.001298, allocations: 171.3 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.678/1.678, allocations: 205.2 MB / 219.8 MB, free: 14.26 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.0008723/0.000872, allocations: 90.64 kB / 268 MB, free: 14.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.197e-05/3.2e-05, allocations: 3.984 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1284, allocations: 47.57 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.424/0.5524, allocations: 102.1 MB / 472.1 MB, free: 7.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.5527, allocations: 89.34 kB / 472.2 MB, free: 7.273 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.763/3.316, allocations: 0.816 GB / 1.277 GB, free: 35.04 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.946e-06/3.316, allocations: 0 / 1.277 GB, free: 35.04 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0009878/3.317, allocations: 399.2 kB / 1.278 GB, free: 34.99 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.05395/3.371, allocations: 16.48 MB / 1.294 GB, free: 30.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/3.371, allocations: 10.19 kB / 1.294 GB, free: 30.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04522/3.416, allocations: 8.647 MB / 1.302 GB, free: 29.33 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02701/3.443, allocations: 11.91 MB / 1.314 GB, free: 27.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001801/3.445, allocations: 1.339 MB / 1.315 GB, free: 27.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007552/3.452, allocations: 1.714 MB / 1.317 GB, free: 27.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07437/3.527, allocations: 31.87 MB / 1.348 GB, free: 21.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006977/3.528, allocations: 15.91 kB / 1.348 GB, free: 21.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007314/3.535, allocations: 0.7418 MB / 1.349 GB, free: 20.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001451/3.536, allocations: 1.254 MB / 1.35 GB, free: 19.19 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06432/3.601, allocations: 28.13 MB / 1.377 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5113/4.112, allocations: 97 MB / 1.472 GB, free: 33.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03851/4.151, allocations: 33.88 MB / 1.505 GB, free: 18.35 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02573/4.176, allocations: 15.12 MB / 1.52 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1136/4.29, allocations: 47.22 MB / 1.566 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001306/4.29, allocations: 154.6 kB / 1.566 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1454): time 1.849e-05/4.29, allocations: 0 / 1.566 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1454): time 0.06487/4.355, allocations: 26.08 MB / 1.592 GB, free: 0.9648 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/4.355, allocations: 192.3 kB / 1.592 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3447/4.7, allocations: 4.587 MB / 1.596 GB, free: 87.37 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002693/4.703, allocations: 204.2 kB / 1.596 GB, free: 87.34 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004499/4.707, allocations: 6.111 MB / 1.602 GB, free: 85.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.008605/4.716, allocations: 4.762 MB / 1.607 GB, free: 81.94 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003533/4.72, allocations: 230.1 kB / 1.607 GB, free: 81.94 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.002337/4.722, allocations: 0.8938 MB / 1.608 GB, free: 81.61 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03026/4.752, allocations: 9.819 MB / 1.618 GB, free: 81.58 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03106/4.783, allocations: 12.23 MB / 1.63 GB, free: 79.26 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03137/4.815, allocations: 11.87 MB / 1.641 GB, free: 79.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002275/4.815, allocations: 17.12 kB / 1.641 GB, free: 79.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1803) (initialization): time 0.08764/4.903, allocations: 28.47 MB / 1.669 GB, free: 78.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001307/4.903, allocations: 33.62 kB / 1.669 GB, free: 78.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002345/4.903, allocations: 60.81 kB / 1.669 GB, free: 78.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0298/4.933, allocations: 10.4 MB / 1.679 GB, free: 78.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01335/4.946, allocations: 1.948 MB / 1.681 GB, free: 78.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04049/4.987, allocations: 21.21 MB / 1.702 GB, free: 67.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01338/5, allocations: 1.423 MB / 1.703 GB, free: 66.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00335/5.004, allocations: 0.5235 MB / 1.704 GB, free: 66.27 MB / 0.5261 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 () * 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.004979/5.009, allocations: 0.7037 MB / 1.705 GB, free: 65.79 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003555/5.012, allocations: 0.7275 MB / 1.705 GB, free: 65.38 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05434/5.067, allocations: 27.79 MB / 1.732 GB, free: 49.39 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04266/5.109, allocations: 25.33 MB / 1.757 GB, free: 27.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.794e-05/5.109, allocations: 0 / 1.757 GB, free: 27.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001802/5.11, allocations: 56.16 kB / 1.757 GB, free: 27.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5203/5.63, allocations: 52.22 MB / 1.808 GB, free: 79.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001292/5.63, allocations: 4.141 kB / 1.808 GB, free: 79.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007041/5.637, allocations: 1.355 MB / 1.809 GB, free: 79.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02064/5.658, allocations: 10.3 MB / 1.82 GB, free: 79.11 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005199/5.663, allocations: 296.6 kB / 1.82 GB, free: 79.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02438/5.687, allocations: 21.1 MB / 1.84 GB, free: 75.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/5.688, allocations: 0 / 1.84 GB, free: 75.33 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07683/5.764, allocations: 41.3 MB / 1.881 GB, free: 68.92 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009856/5.774, allocations: 3.136 MB / 1.884 GB, free: 67.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00505/5.779, allocations: 182.2 kB / 1.884 GB, free: 67.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008806/5.788, allocations: 0.5049 MB / 1.884 GB, free: 67.14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00515/5.793, allocations: 1.059 MB / 1.886 GB, free: 66.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003636/5.797, allocations: 376.5 kB / 1.886 GB, free: 66.82 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006629/5.804, allocations: 2.925 MB / 1.889 GB, free: 65.72 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.473e-06/5.804, allocations: 2.188 kB / 1.889 GB, free: 65.72 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.02297/5.827, allocations: 4.362 MB / 1.893 GB, free: 64.88 MB / 0.5261 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 () * 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.004357/5.831, allocations: 455 kB / 1.893 GB, free: 64.64 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.04335/5.875, allocations: 23.61 MB / 1.916 GB, free: 47.67 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/5.875, allocations: 2.312 kB / 1.916 GB, free: 47.67 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02475/5.899, allocations: 12.19 MB / 1.928 GB, free: 37.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01119/5.911, allocations: 1.382 MB / 1.93 GB, free: 35.96 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08687/5.998, allocations: 35.86 MB / 1.965 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4323/6.43, allocations: 13.06 MB / 1.978 GB, free: 85.32 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01354/6.443, allocations: 2.791 MB / 1.98 GB, free: 85.25 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002971/6.446, allocations: 491.4 kB / 1.981 GB, free: 85.25 MB / 0.5417 GB Notification: Performance of SimCode: time 2.324e-06/6.447, allocations: 0 / 1.981 GB, free: 85.25 MB / 0.5417 GB Notification: Performance of Templates: time 0.7309/7.177, allocations: 211.6 MB / 2.187 GB, free: 99.87 MB / 0.5573 GB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/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_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches