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.00181/0.001811, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.682/1.682, allocations: 205.4 MB / 223.1 MB, free: 9.133 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.0008309/0.000831, allocations: 90.59 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.000346, allocations: 8 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2963, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1288/0.4252, allocations: 102.2 MB / 478 MB, free: 10.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003547/0.4256, allocations: 91.94 kB / 478.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.934/3.359, allocations: 0.8169 GB / 1.284 GB, free: 36.58 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.276e-06/3.359, allocations: 4 kB / 1.284 GB, free: 36.57 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.001761/3.361, allocations: 396.8 kB / 1.284 GB, free: 36.52 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.07239/3.433, allocations: 17.08 MB / 1.301 GB, free: 31.49 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.687e-05/3.433, allocations: 11.25 kB / 1.301 GB, free: 31.49 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04965/3.483, allocations: 8.685 MB / 1.309 GB, free: 28.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03473/3.518, allocations: 11.94 MB / 1.321 GB, free: 18.22 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002183/3.52, allocations: 1.335 MB / 1.322 GB, free: 16.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009362/3.53, allocations: 1.717 MB / 1.324 GB, free: 15.19 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8142/4.344, allocations: 32.16 MB / 1.355 GB, free: 34.4 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001136/4.345, allocations: 16.59 kB / 1.355 GB, free: 34.4 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009342/4.354, allocations: 0.7473 MB / 1.356 GB, free: 34.4 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001721/4.356, allocations: 1.253 MB / 1.357 GB, free: 34.36 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06534/4.421, allocations: 28.11 MB / 1.385 GB, free: 34.2 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1967/4.618, allocations: 96.69 MB / 1.479 GB, free: 0 / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04483/4.663, allocations: 34.02 MB / 1.512 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5502/5.213, allocations: 48.47 MB / 1.56 GB, free: 81.04 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/5.213, allocations: 153.9 kB / 1.56 GB, free: 80.98 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=1456): time 1.622e-05/5.214, allocations: 0 / 1.56 GB, free: 80.98 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1456): time 0.2607/5.474, allocations: 93.79 MB / 1.652 GB, free: 62.41 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/5.474, allocations: 195.4 kB / 1.652 GB, free: 62.31 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01046/5.485, allocations: 3.949 MB / 1.656 GB, free: 62.04 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.003684/5.489, allocations: 205.7 kB / 1.656 GB, free: 62.01 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.004868/5.494, allocations: 6.107 MB / 1.662 GB, free: 59.44 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.008472/5.502, allocations: 4.772 MB / 1.666 GB, free: 56.32 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00395/5.506, allocations: 233.5 kB / 1.667 GB, free: 56.32 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.002319/5.508, allocations: 0.8924 MB / 1.667 GB, free: 55.99 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02024/5.529, allocations: 9.901 MB / 1.677 GB, free: 55.96 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0222/5.551, allocations: 12.32 MB / 1.689 GB, free: 52.11 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02376/5.575, allocations: 11.93 MB / 1.701 GB, free: 44.33 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001414/5.575, allocations: 20 kB / 1.701 GB, free: 44.31 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1805) (initialization): time 0.06352/5.638, allocations: 28.75 MB / 1.729 GB, free: 19.41 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001435/5.639, allocations: 32 kB / 1.729 GB, free: 19.38 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000215/5.639, allocations: 60 kB / 1.729 GB, free: 19.32 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02019/5.659, allocations: 10.71 MB / 1.739 GB, free: 10.13 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008886/5.668, allocations: 1.921 MB / 1.741 GB, free: 8.664 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4273/6.095, allocations: 22.5 MB / 1.763 GB, free: 79.73 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01301/6.108, allocations: 1.422 MB / 1.765 GB, free: 79.73 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005004/6.113, allocations: 0.521 MB / 1.765 GB, free: 79.73 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 (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.02196/6.135, allocations: 7.216 MB / 1.772 GB, free: 79.62 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004381/6.14, allocations: 0.7306 MB / 1.773 GB, free: 79.43 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05935/6.199, allocations: 28.11 MB / 1.8 GB, free: 78.88 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05137/6.251, allocations: 25.56 MB / 1.825 GB, free: 78.43 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.644e-05/6.251, allocations: 0 / 1.825 GB, free: 78.43 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002151/6.251, allocations: 56.14 kB / 1.825 GB, free: 78.43 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1132/6.364, allocations: 52.28 MB / 1.877 GB, free: 56.17 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001254/6.364, allocations: 0 / 1.877 GB, free: 56.17 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006474/6.371, allocations: 1.337 MB / 1.878 GB, free: 56.13 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02019/6.391, allocations: 10.64 MB / 1.888 GB, free: 52.66 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003053/6.394, allocations: 298.3 kB / 1.889 GB, free: 52.41 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02414/6.418, allocations: 21.44 MB / 1.909 GB, free: 33.16 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/6.418, allocations: 4 kB / 1.909 GB, free: 33.16 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4026/6.821, allocations: 43.64 MB / 1.952 GB, free: 78.22 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01229/6.833, allocations: 3.14 MB / 1.955 GB, free: 78.06 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004752/6.838, allocations: 182.9 kB / 1.955 GB, free: 78.06 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01089/6.849, allocations: 0.5095 MB / 1.956 GB, free: 78.06 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006859/6.856, allocations: 1.063 MB / 1.957 GB, free: 78.05 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004507/6.86, allocations: 372.4 kB / 1.957 GB, free: 78.05 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.009275/6.87, allocations: 2.966 MB / 1.96 GB, free: 77.87 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.203e-06/6.87, allocations: 0 / 1.96 GB, free: 77.87 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.02535/6.895, allocations: 4.358 MB / 1.964 GB, free: 77.01 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 (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.00495/6.9, allocations: 452.4 kB / 1.965 GB, free: 76.92 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.07722/6.977, allocations: 23.82 MB / 1.988 GB, free: 76.49 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.424e-05/6.977, allocations: 3.375 kB / 1.988 GB, free: 76.49 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.04334/7.021, allocations: 12.32 MB / 2 GB, free: 76.24 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01671/7.037, allocations: 1.372 MB / 2.001 GB, free: 76.21 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1418/7.179, allocations: 47.16 MB / 2.047 GB, free: 61.37 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03352/7.213, allocations: 12.33 MB / 2.06 GB, free: 60.09 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.01569/7.229, allocations: 2.752 MB / 2.062 GB, free: 59.83 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004351/7.233, allocations: 493.4 kB / 2.063 GB, free: 59.82 MB / 0.5262 GB Notification: Performance of SimCode: time 1.913e-06/7.233, allocations: 0 / 2.063 GB, free: 59.82 MB / 0.5262 GB Notification: Performance of Templates: time 0.7116/7.945, allocations: 230.9 MB / 2.288 GB, free: 24.05 MB / 0.5262 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