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.001182/0.001182, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008471/0.0008472, allocations: 89.88 kB / 292.1 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.63e-05/3.668e-05, allocations: 0 / 350.5 MB, free: 2.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09606/0.09612, allocations: 51.48 MB / 402 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3161/0.4123, allocations: 93.48 MB / 495.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.4125, allocations: 87.16 kB / 495.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1868/0.5994, allocations: 74.65 MB / 0.5569 GB, free: 2.695 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5994, allocations: 0 / 0.5569 GB, free: 2.695 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002744/0.5997, allocations: 87.88 kB / 0.557 GB, free: 2.609 MB / 426.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.007498/0.6072, allocations: 2.907 MB / 0.5598 GB, free: 15.64 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.6073, allocations: 12.03 kB / 0.5598 GB, free: 15.63 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002088/0.6094, allocations: 439.7 kB / 0.5602 GB, free: 15.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005283/0.6147, allocations: 2.17 MB / 0.5623 GB, free: 12.97 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002055/0.6149, allocations: 225.8 kB / 0.5626 GB, free: 12.75 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008625/0.6158, allocations: 284 kB / 0.5628 GB, free: 12.47 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009043/0.6248, allocations: 4.036 MB / 0.5668 GB, free: 8.273 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.033e-05/0.6249, allocations: 4 kB / 0.5668 GB, free: 8.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006661/0.6256, allocations: 124 kB / 0.5669 GB, free: 8.148 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001499/0.6258, allocations: 133.9 kB / 0.567 GB, free: 8.016 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006769/0.6326, allocations: 3.089 MB / 0.57 GB, free: 4.918 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2502/0.8828, allocations: 11.01 MB / 0.5808 GB, free: 71.46 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002335/0.8851, allocations: 2.587 MB / 0.5833 GB, free: 70.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001958/0.8871, allocations: 1.443 MB / 0.5847 GB, free: 70.28 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002764/0.8874, allocations: 148.9 kB / 0.5849 GB, free: 70.19 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.8875, allocations: 48.12 kB / 0.5849 GB, free: 70.15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=128): time 4.538e-06/0.8875, allocations: 0.6094 kB / 0.5849 GB, free: 70.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=133): time 0.007506/0.895, allocations: 4.372 MB / 0.5892 GB, free: 69.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.8951, allocations: 91.08 kB / 0.5893 GB, free: 69.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002199/0.8973, allocations: 1.695 MB / 0.5909 GB, free: 69.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.8974, allocations: 47.48 kB / 0.591 GB, free: 69.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006503/0.898, allocations: 1.324 MB / 0.5923 GB, free: 68.63 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002654/0.8983, allocations: 456.8 kB / 0.5927 GB, free: 68.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-05/0.8984, allocations: 27.41 kB / 0.5927 GB, free: 68.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.166e-05/0.8985, allocations: 367.9 kB / 0.5931 GB, free: 68.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009352/0.8994, allocations: 0.7776 MB / 0.5938 GB, free: 68.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.9005, allocations: 1.127 MB / 0.5949 GB, free: 67.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.9016, allocations: 0.9844 MB / 0.5959 GB, free: 67.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.9016, allocations: 3.188 kB / 0.5959 GB, free: 67.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003348/0.905, allocations: 2.442 MB / 0.5983 GB, free: 67.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.905, allocations: 9.656 kB / 0.5983 GB, free: 67.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.577e-05/0.9051, allocations: 13.12 kB / 0.5983 GB, free: 67.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008461/0.9059, allocations: 356.1 kB / 0.5986 GB, free: 67.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.9071, allocations: 335.5 kB / 0.599 GB, free: 67.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00404/0.9112, allocations: 4.038 MB / 0.6029 GB, free: 66.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.9126, allocations: 86.19 kB / 0.603 GB, free: 66.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.9127, allocations: 69.36 kB / 0.6031 GB, free: 66.13 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 152 * 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%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002671/0.913, allocations: 190.4 kB / 0.6032 GB, free: 66.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003352/0.9133, allocations: 191.5 kB / 0.6034 GB, free: 65.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003071/0.9164, allocations: 2.114 MB / 0.6055 GB, free: 65.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.9164, allocations: 13.36 kB / 0.6055 GB, free: 65.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.9164, allocations: 6.531 kB / 0.6055 GB, free: 65.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.9165, allocations: 3.562 kB / 0.6055 GB, free: 65.82 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008204/0.9247, allocations: 5.156 MB / 0.6105 GB, free: 65.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-05/0.9247, allocations: 7.344 kB / 0.6106 GB, free: 65.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009857/0.9257, allocations: 231.2 kB / 0.6108 GB, free: 65.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008832/0.9266, allocations: 337 kB / 0.6111 GB, free: 65.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.236e-05/0.9267, allocations: 31.53 kB / 0.6111 GB, free: 65.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004561/0.9313, allocations: 3.951 MB / 0.615 GB, free: 63.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.9313, allocations: 4.844 kB / 0.615 GB, free: 63.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004993/0.9363, allocations: 3.274 MB / 0.6182 GB, free: 63.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/0.9375, allocations: 466.2 kB / 0.6186 GB, free: 63.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003177/0.9379, allocations: 32.16 kB / 0.6187 GB, free: 63.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.939, allocations: 104.7 kB / 0.6188 GB, free: 63.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002866/0.9393, allocations: 98.92 kB / 0.6189 GB, free: 63.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.9394, allocations: 45.17 kB / 0.6189 GB, free: 63.24 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002131/0.9415, allocations: 1.309 MB / 0.6202 GB, free: 63.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.9415, allocations: 1.25 kB / 0.6202 GB, free: 63.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002105/0.9436, allocations: 0.5733 MB / 0.6207 GB, free: 63.12 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 99 * 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%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004756/0.9441, allocations: 229.8 kB / 0.621 GB, free: 63.04 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003427/0.9475, allocations: 2.228 MB / 0.6231 GB, free: 62.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.9476, allocations: 4.844 kB / 0.6231 GB, free: 62.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001963/0.9495, allocations: 1.29 MB / 0.6244 GB, free: 61.68 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002443/0.952, allocations: 486.5 kB / 0.6249 GB, free: 61.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008207/0.9602, allocations: 4.64 MB / 0.6294 GB, free: 59.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002056/0.9623, allocations: 2.476 MB / 0.6318 GB, free: 58.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001674/0.964, allocations: 489.9 kB / 0.6323 GB, free: 58.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004204/0.9644, allocations: 130.4 kB / 0.6324 GB, free: 58.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.873e-06/0.9644, allocations: 0 / 0.6324 GB, free: 58.7 MB / 442.7 MB Notification: Performance of Templates: time 0.04286/1.007, allocations: 29.12 MB / 0.6608 GB, free: 57.43 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