Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001184/0.001184, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.197/1.197, allocations: 227.2 MB / 245 MB, free: 5.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009416/0.0009415, allocations: 105.3 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002348/0.0002349, allocations: 4 kB / 357.9 MB, free: 9.324 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.212, allocations: 51.49 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1011/0.3132, allocations: 93.53 MB / 0.4912 GB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.3135, allocations: 91.95 kB / 0.4912 GB, free: 12.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.339/0.6525, allocations: 74.44 MB / 0.5639 GB, free: 46.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.6525, allocations: 0 / 0.5639 GB, free: 46.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002834/0.6528, allocations: 83.88 kB / 0.564 GB, free: 46.27 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.008854/0.6617, allocations: 3.233 MB / 0.5672 GB, free: 42.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.6617, allocations: 12.03 kB / 0.5672 GB, free: 42.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002281/0.664, allocations: 443.6 kB / 0.5676 GB, free: 42.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005914/0.67, allocations: 2.19 MB / 0.5698 GB, free: 40.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/0.6702, allocations: 221.8 kB / 0.57 GB, free: 40.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000964/0.6711, allocations: 284 kB / 0.5702 GB, free: 39.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008029/0.6792, allocations: 4.11 MB / 0.5743 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.06e-05/0.6793, allocations: 4 kB / 0.5743 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002841/0.6796, allocations: 124 kB / 0.5744 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.6797, allocations: 133.9 kB / 0.5745 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004453/0.6841, allocations: 3.197 MB / 0.5776 GB, free: 32.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01541/0.6996, allocations: 11.02 MB / 0.5884 GB, free: 20.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/0.7016, allocations: 2.634 MB / 0.591 GB, free: 17.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002629/0.7019, allocations: 138 kB / 0.5911 GB, free: 17.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.7019, allocations: 51.52 kB / 0.5911 GB, free: 17.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 3.677e-06/0.702, allocations: 4 kB / 0.5911 GB, free: 17.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=132): time 0.007631/0.7096, allocations: 5.663 MB / 0.5967 GB, free: 11.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.7096, allocations: 94.42 kB / 0.5968 GB, free: 11.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001976/0.7116, allocations: 1.714 MB / 0.5984 GB, free: 10.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.246e-05/0.7117, allocations: 45.7 kB / 0.5985 GB, free: 10.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005481/0.7123, allocations: 1.322 MB / 0.5998 GB, free: 8.742 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.7125, allocations: 457.4 kB / 0.6002 GB, free: 8.289 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.032e-05/0.7126, allocations: 28 kB / 0.6002 GB, free: 8.262 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.649e-05/0.7127, allocations: 365.9 kB / 0.6006 GB, free: 7.898 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009338/0.7136, allocations: 0.8198 MB / 0.6014 GB, free: 7.078 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.7147, allocations: 1.181 MB / 0.6025 GB, free: 5.758 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.7159, allocations: 1.025 MB / 0.6035 GB, free: 4.738 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.7159, allocations: 4 kB / 0.6035 GB, free: 4.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003249/0.7191, allocations: 2.545 MB / 0.606 GB, free: 2.176 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.7192, allocations: 12.03 kB / 0.606 GB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.619e-05/0.7192, allocations: 12 kB / 0.606 GB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008456/0.72, allocations: 380.5 kB / 0.6064 GB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.7212, allocations: 323.5 kB / 0.6067 GB, free: 1.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00469/0.7259, allocations: 4.369 MB / 0.611 GB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.7274, allocations: 91.83 kB / 0.6111 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/0.7276, allocations: 63.98 kB / 0.6111 GB, free: 12.8 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (153): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001856/0.7294, allocations: 1.044 MB / 0.6122 GB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004498/0.7299, allocations: 185.8 kB / 0.6123 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00351/0.7334, allocations: 2.211 MB / 0.6145 GB, free: 9.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.7334, allocations: 15.94 kB / 0.6145 GB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/0.7334, allocations: 4 kB / 0.6145 GB, free: 9.32 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.7335, allocations: 11.92 kB / 0.6145 GB, free: 9.309 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008149/0.7416, allocations: 5.173 MB / 0.6196 GB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/0.7417, allocations: 0 / 0.6196 GB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009355/0.7426, allocations: 227.8 kB / 0.6198 GB, free: 3.836 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008829/0.7435, allocations: 365 kB / 0.6201 GB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.545e-05/0.7436, allocations: 27.98 kB / 0.6202 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004913/0.7485, allocations: 4.286 MB / 0.6244 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7486, allocations: 4.062 kB / 0.6244 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005041/0.7536, allocations: 3.301 MB / 0.6276 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/0.755, allocations: 470.7 kB / 0.628 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/0.7553, allocations: 31.94 kB / 0.6281 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.7563, allocations: 104 kB / 0.6282 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002158/0.7565, allocations: 92.8 kB / 0.6282 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-05/0.7566, allocations: 40 kB / 0.6283 GB, free: 10.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002038/0.7586, allocations: 1.334 MB / 0.6296 GB, free: 9.613 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7587, allocations: 0 / 0.6296 GB, free: 9.613 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001881/0.7605, allocations: 0.5703 MB / 0.6301 GB, free: 9.043 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * 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 (98): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004598/0.761, allocations: 220.9 kB / 0.6304 GB, free: 8.816 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003517/0.7645, allocations: 2.342 MB / 0.6326 GB, free: 6.438 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.7646, allocations: 4.062 kB / 0.6326 GB, free: 6.434 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001898/0.7665, allocations: 1.34 MB / 0.634 GB, free: 5.055 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/0.7687, allocations: 481.2 kB / 0.6344 GB, free: 4.586 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.7792, allocations: 6.722 MB / 0.641 GB, free: 13.83 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002/0.7812, allocations: 2.474 MB / 0.6434 GB, free: 11.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001694/0.7829, allocations: 479.5 kB / 0.6439 GB, free: 10.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004239/0.7833, allocations: 127.4 kB / 0.644 GB, free: 10.73 MB / 426.7 MB Notification: Performance of SimCode: time 7.41e-07/0.7834, allocations: 3.938 kB / 0.644 GB, free: 10.72 MB / 426.7 MB Notification: Performance of Templates: time 0.2642/1.048, allocations: 29.04 MB / 0.6723 GB, free: 107.9 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches