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.001521/0.001521, allocations: 182.4 kB / 13.66 MB, free: 1.664 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.227/2.227, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001054/0.001054, allocations: 90.64 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.199e-05/3.218e-05, allocations: 4 kB / 321.5 MB, free: 17.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09555/0.09561, allocations: 47.57 MB / 369.1 MB, free: 2.223 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4282/0.5239, allocations: 102.1 MB / 471.2 MB, free: 7.254 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.5243, allocations: 84.19 kB / 471.3 MB, free: 7.211 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.125/4.649, allocations: 0.816 GB / 1.276 GB, free: 34.88 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.753e-06/4.649, allocations: 0 / 1.276 GB, free: 34.88 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.001585/4.651, allocations: 399.1 kB / 1.277 GB, free: 34.82 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.08332/4.734, allocations: 16.48 MB / 1.293 GB, free: 30.14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/4.734, allocations: 10.06 kB / 1.293 GB, free: 30.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07005/4.804, allocations: 8.641 MB / 1.301 GB, free: 29.17 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04077/4.845, allocations: 11.91 MB / 1.313 GB, free: 27.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002483/4.848, allocations: 1.336 MB / 1.314 GB, free: 27.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009462/4.857, allocations: 1.715 MB / 1.316 GB, free: 27.72 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1066/4.964, allocations: 31.87 MB / 1.347 GB, free: 21.26 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009823/4.965, allocations: 11.91 kB / 1.347 GB, free: 21.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008502/4.973, allocations: 0.7433 MB / 1.348 GB, free: 20.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001947/4.975, allocations: 1.256 MB / 1.349 GB, free: 19.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09691/5.072, allocations: 28.05 MB / 1.376 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7081/5.78, allocations: 97.05 MB / 1.471 GB, free: 32.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05551/5.836, allocations: 33.89 MB / 1.504 GB, free: 17.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03876/5.875, allocations: 15.12 MB / 1.519 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.138/6.013, allocations: 47.22 MB / 1.565 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/6.013, allocations: 151.9 kB / 1.565 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1454): time 2.186e-05/6.013, allocations: 0 / 1.565 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1454): time 0.09112/6.104, allocations: 26.14 MB / 1.591 GB, free: 0.9648 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001827/6.104, allocations: 189.9 kB / 1.591 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.46/6.564, allocations: 4.589 MB / 1.595 GB, free: 86.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.003098/6.568, allocations: 202 kB / 1.596 GB, free: 86.66 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005379/6.573, allocations: 5.912 MB / 1.601 GB, free: 84.32 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.008509/6.582, allocations: 4.763 MB / 1.606 GB, free: 81.21 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003539/6.585, allocations: 229.2 kB / 1.606 GB, free: 81.21 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.002032/6.587, allocations: 0.9044 MB / 1.607 GB, free: 80.87 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02772/6.615, allocations: 9.815 MB / 1.617 GB, free: 80.84 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03016/6.645, allocations: 12.23 MB / 1.629 GB, free: 78.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03185/6.677, allocations: 11.87 MB / 1.64 GB, free: 78.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001447/6.677, allocations: 18.44 kB / 1.64 GB, free: 78.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1803) (initialization): time 0.08445/6.762, allocations: 28.25 MB / 1.668 GB, free: 77.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.588e-05/6.762, allocations: 29.44 kB / 1.668 GB, free: 77.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002137/6.762, allocations: 62.5 kB / 1.668 GB, free: 77.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03153/6.794, allocations: 10.41 MB / 1.678 GB, free: 77.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01579/6.81, allocations: 1.949 MB / 1.68 GB, free: 77.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04375/6.853, allocations: 21.21 MB / 1.701 GB, free: 66.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01468/6.868, allocations: 1.421 MB / 1.702 GB, free: 66.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004313/6.872, allocations: 0.521 MB / 1.703 GB, free: 65.96 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.00741/6.88, allocations: 0.7002 MB / 1.703 GB, free: 65.48 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005083/6.885, allocations: 0.7246 MB / 1.704 GB, free: 65.08 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08213/6.967, allocations: 27.79 MB / 1.731 GB, free: 49.39 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.07084/7.038, allocations: 25.33 MB / 1.756 GB, free: 27.19 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.214e-05/7.038, allocations: 8 kB / 1.756 GB, free: 27.18 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002606/7.038, allocations: 54.38 kB / 1.756 GB, free: 27.18 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5862/7.625, allocations: 52.31 MB / 1.807 GB, free: 79.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002173/7.625, allocations: 0 / 1.807 GB, free: 79.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01238/7.637, allocations: 1.359 MB / 1.808 GB, free: 79.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03263/7.67, allocations: 10.3 MB / 1.818 GB, free: 79.24 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004092/7.674, allocations: 296.9 kB / 1.819 GB, free: 79.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04538/7.72, allocations: 21.1 MB / 1.839 GB, free: 75.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/7.72, allocations: 0 / 1.839 GB, free: 75.46 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1114/7.831, allocations: 41.29 MB / 1.88 GB, free: 69.65 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01149/7.843, allocations: 3.129 MB / 1.883 GB, free: 68.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00478/7.847, allocations: 189.2 kB / 1.883 GB, free: 68.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01106/7.859, allocations: 0.5026 MB / 1.883 GB, free: 67.87 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005276/7.864, allocations: 1.065 MB / 1.884 GB, free: 67.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003605/7.868, allocations: 370 kB / 1.885 GB, free: 67.55 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007557/7.875, allocations: 2.927 MB / 1.888 GB, free: 66.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.192e-06/7.875, allocations: 1.969 kB / 1.888 GB, free: 66.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.02033/7.896, allocations: 4.357 MB / 1.892 GB, free: 65.61 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.004142/7.9, allocations: 463.8 kB / 1.892 GB, free: 65.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.06349/7.963, allocations: 23.6 MB / 1.915 GB, free: 48.47 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/7.963, allocations: 0 / 1.915 GB, free: 48.47 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.03602/7.999, allocations: 12.2 MB / 1.927 GB, free: 37.81 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01468/8.014, allocations: 1.375 MB / 1.929 GB, free: 36.76 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1047/8.119, allocations: 35.29 MB / 1.963 GB, free: 5.605 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5027/8.622, allocations: 13.34 MB / 1.976 GB, free: 71.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006512/8.628, allocations: 0.5577 MB / 1.977 GB, free: 71.66 MB / 0.5261 GB Notification: Performance of SimCode: time 1.823e-06/8.628, allocations: 0.9688 kB / 1.977 GB, free: 71.66 MB / 0.5261 GB Notification: Performance of Templates: time 3.291/11.92, allocations: 0.9072 GB / 2.884 GB, free: 94.08 MB / 0.573 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