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.001458/0.001458, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.905/1.905, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001137/0.001137, allocations: 98.84 kB / 270.9 MB, free: 8.398 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003804/0.0003804, allocations: 8 kB / 327 MB, free: 232 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3221, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1878/0.51, allocations: 102.2 MB / 476.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004488/0.5105, allocations: 91.95 kB / 476.8 MB, free: 10.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.996/4.506, allocations: 0.8169 GB / 1.283 GB, free: 36.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.575e-06/4.506, allocations: 0 / 1.283 GB, free: 36.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.001197/4.507, allocations: 396.5 kB / 1.283 GB, free: 36.35 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.08383/4.591, allocations: 17.09 MB / 1.3 GB, free: 31.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/4.591, allocations: 7.5 kB / 1.3 GB, free: 31.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06967/4.661, allocations: 8.689 MB / 1.308 GB, free: 28.74 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0393/4.7, allocations: 11.94 MB / 1.32 GB, free: 18.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002356/4.703, allocations: 1.334 MB / 1.321 GB, free: 17.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009189/4.712, allocations: 1.721 MB / 1.323 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5882/5.3, allocations: 32.17 MB / 1.354 GB, free: 34.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001089/5.301, allocations: 15.75 kB / 1.354 GB, free: 34.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008693/5.31, allocations: 0.7416 MB / 1.355 GB, free: 34.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002016/5.312, allocations: 1.255 MB / 1.356 GB, free: 34.42 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08686/5.399, allocations: 28.12 MB / 1.384 GB, free: 34.26 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2579/5.657, allocations: 96.66 MB / 1.478 GB, free: 0 / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06403/5.721, allocations: 34.01 MB / 1.511 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6047/6.326, allocations: 48.54 MB / 1.559 GB, free: 81.14 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/6.326, allocations: 148 kB / 1.559 GB, free: 81.09 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1456): time 2.112e-05/6.326, allocations: 0 / 1.559 GB, free: 81.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1456): time 0.4835/6.81, allocations: 93.79 MB / 1.65 GB, free: 62.54 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/6.81, allocations: 191.9 kB / 1.651 GB, free: 62.43 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01027/6.82, allocations: 3.953 MB / 1.654 GB, free: 62.16 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.003184/6.823, allocations: 202.9 kB / 1.655 GB, free: 62.13 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004571/6.828, allocations: 5.909 MB / 1.66 GB, free: 59.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.008263/6.836, allocations: 4.772 MB / 1.665 GB, free: 56.38 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003331/6.84, allocations: 233.3 kB / 1.665 GB, free: 56.38 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001655/6.841, allocations: 0.9013 MB / 1.666 GB, free: 56.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02651/6.868, allocations: 9.901 MB / 1.676 GB, free: 56.02 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02875/6.897, allocations: 12.31 MB / 1.688 GB, free: 52.33 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03042/6.927, allocations: 11.94 MB / 1.699 GB, free: 44.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001079/6.927, allocations: 16 kB / 1.699 GB, free: 44.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1805) (initialization): time 0.08273/7.01, allocations: 28.52 MB / 1.727 GB, free: 20.29 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.297e-05/7.01, allocations: 32.62 kB / 1.727 GB, free: 20.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002089/7.01, allocations: 60.56 kB / 1.727 GB, free: 20.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03092/7.041, allocations: 10.71 MB / 1.738 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01541/7.057, allocations: 1.925 MB / 1.74 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4737/7.531, allocations: 22.15 MB / 1.761 GB, free: 79.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01392/7.545, allocations: 1.42 MB / 1.763 GB, free: 79.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004186/7.549, allocations: 0.5178 MB / 1.763 GB, free: 79.6 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1052): * Single equations (assignments): 899 * 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 302,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0221/7.571, allocations: 7.214 MB / 1.77 GB, free: 79.49 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004819/7.576, allocations: 0.7335 MB / 1.771 GB, free: 79.29 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08517/7.661, allocations: 28.11 MB / 1.798 GB, free: 78.74 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.07298/7.734, allocations: 25.56 MB / 1.823 GB, free: 78.15 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.471e-05/7.734, allocations: 1.219 kB / 1.823 GB, free: 78.15 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002583/7.734, allocations: 58.39 kB / 1.824 GB, free: 78.15 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1445/7.879, allocations: 52.29 MB / 1.875 GB, free: 55.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002208/7.879, allocations: 0.875 kB / 1.875 GB, free: 55.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01173/7.891, allocations: 1.339 MB / 1.876 GB, free: 55.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03098/7.922, allocations: 10.63 MB / 1.886 GB, free: 52.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003406/7.925, allocations: 302.6 kB / 1.887 GB, free: 52.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04237/7.968, allocations: 21.45 MB / 1.907 GB, free: 33.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/7.968, allocations: 3.375 kB / 1.907 GB, free: 33.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5756/8.543, allocations: 43.63 MB / 1.95 GB, free: 78.38 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01076/8.554, allocations: 3.141 MB / 1.953 GB, free: 78.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004509/8.559, allocations: 180.5 kB / 1.953 GB, free: 78.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01064/8.57, allocations: 0.5116 MB / 1.954 GB, free: 78.23 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005277/8.575, allocations: 1.059 MB / 1.955 GB, free: 78.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00346/8.578, allocations: 378.7 kB / 1.955 GB, free: 78.21 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007712/8.586, allocations: 2.963 MB / 1.958 GB, free: 78.04 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.244e-06/8.586, allocations: 2.625 kB / 1.958 GB, free: 78.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01955/8.606, allocations: 4.365 MB / 1.962 GB, free: 77.18 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (746): * Single equations (assignments): 593 * 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 302,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.003944/8.61, allocations: 449.6 kB / 1.963 GB, free: 77.09 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.06986/8.68, allocations: 23.82 MB / 1.986 GB, free: 76.66 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/8.68, allocations: 0 / 1.986 GB, free: 76.66 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.03821/8.718, allocations: 12.32 MB / 1.998 GB, free: 76.41 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01416/8.732, allocations: 1.375 MB / 1.999 GB, free: 76.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1209/8.853, allocations: 46.58 MB / 2.045 GB, free: 61.58 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03038/8.883, allocations: 11.95 MB / 2.057 GB, free: 60.38 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006098/8.89, allocations: 0.5532 MB / 2.057 GB, free: 60.37 MB / 0.5261 GB Notification: Performance of SimCode: time 1.874e-06/8.89, allocations: 1.031 kB / 2.057 GB, free: 60.37 MB / 0.5261 GB Notification: Performance of Templates: time 3.628/12.52, allocations: 0.9069 GB / 2.964 GB, free: 123.9 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