Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.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.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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001404/0.001404, allocations: 178.6 kB / 8.697 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.322/1.322, allocations: 205.3 MB / 214.4 MB, free: 1.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007918/0.0007919, allocations: 78.72 kB / 262.4 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.686e-05/1.68e-05, allocations: 4 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07776/0.07779, allocations: 47.59 MB / 363.1 MB, free: 7.055 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2824/0.3603, allocations: 91.55 MB / 454.6 MB, free: 4.184 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.3606, allocations: 86.89 kB / 454.7 MB, free: 4.141 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1834/0.5441, allocations: 73.37 MB / 0.5157 GB, free: 188 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.5441, allocations: 0 / 0.5157 GB, free: 188 kB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001902/0.5443, allocations: 87.88 kB / 0.5158 GB, free: 100 kB / 394.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.00627/0.5506, allocations: 2.872 MB / 0.5186 GB, free: 13.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.5506, allocations: 12.03 kB / 0.5186 GB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.5517, allocations: 399.7 kB / 0.519 GB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003881/0.5556, allocations: 2.167 MB / 0.5211 GB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.711e-05/0.5557, allocations: 99.95 kB / 0.5212 GB, free: 10.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003542/0.5561, allocations: 168 kB / 0.5214 GB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00472/0.5608, allocations: 2.952 MB / 0.5242 GB, free: 7.316 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005634/0.5665, allocations: 3.634 MB / 0.5278 GB, free: 3.523 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-05/0.5665, allocations: 11.98 kB / 0.5278 GB, free: 3.512 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002441/0.5668, allocations: 4 kB / 0.5278 GB, free: 3.508 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000131/0.5669, allocations: 133.9 kB / 0.5279 GB, free: 3.375 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2758/0.8427, allocations: 10.4 MB / 0.5381 GB, free: 86.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003647/0.8464, allocations: 2.531 MB / 0.5406 GB, free: 85.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0031/0.8495, allocations: 1.339 MB / 0.5419 GB, free: 85.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003761/0.8499, allocations: 144.7 kB / 0.542 GB, free: 85.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.85, allocations: 49.94 kB / 0.542 GB, free: 85.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=128): time 6.031e-06/0.85, allocations: 2.562 kB / 0.5421 GB, free: 85.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=133): time 0.01097/0.861, allocations: 4.179 MB / 0.5461 GB, free: 84.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.8611, allocations: 91.27 kB / 0.5462 GB, free: 84.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002933/0.864, allocations: 1.435 MB / 0.5476 GB, free: 84.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.8641, allocations: 25.7 kB / 0.5476 GB, free: 84.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009127/0.865, allocations: 1.326 MB / 0.5489 GB, free: 84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000373/0.8654, allocations: 437.6 kB / 0.5494 GB, free: 83.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.8656, allocations: 0 / 0.5494 GB, free: 83.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.8657, allocations: 367.8 kB / 0.5497 GB, free: 83.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/0.8673, allocations: 0.7543 MB / 0.5504 GB, free: 83.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/0.869, allocations: 1.1 MB / 0.5515 GB, free: 83.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/0.871, allocations: 0.9533 MB / 0.5525 GB, free: 83.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-06/0.871, allocations: 4.656 kB / 0.5525 GB, free: 83.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005118/0.8761, allocations: 2.294 MB / 0.5547 GB, free: 82.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.8762, allocations: 11.84 kB / 0.5547 GB, free: 82.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.839e-05/0.8762, allocations: 15.36 kB / 0.5547 GB, free: 82.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/0.8776, allocations: 351.3 kB / 0.5551 GB, free: 82.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002107/0.8797, allocations: 335.3 kB / 0.5554 GB, free: 82.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006386/0.8861, allocations: 3.898 MB / 0.5592 GB, free: 81.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/0.8879, allocations: 61.11 kB / 0.5592 GB, free: 81.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/0.8881, allocations: 60.72 kB / 0.5593 GB, free: 81.55 MB / 410.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.0003228/0.8885, allocations: 143.7 kB / 0.5594 GB, free: 81.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004894/0.889, allocations: 177 kB / 0.5596 GB, free: 81.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004558/0.8935, allocations: 1.99 MB / 0.5615 GB, free: 81.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/0.8936, allocations: 16.66 kB / 0.5616 GB, free: 81.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.8936, allocations: 3.812 kB / 0.5616 GB, free: 81.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/0.8936, allocations: 10.11 kB / 0.5616 GB, free: 81.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/0.9039, allocations: 4.641 MB / 0.5661 GB, free: 80.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-05/0.9039, allocations: 7.312 kB / 0.5661 GB, free: 80.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/0.9055, allocations: 232.1 kB / 0.5663 GB, free: 80.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001242/0.9067, allocations: 327.2 kB / 0.5666 GB, free: 80.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/0.9069, allocations: 14.97 kB / 0.5667 GB, free: 80.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006058/0.9129, allocations: 3.832 MB / 0.5704 GB, free: 78.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.913, allocations: 7.688 kB / 0.5704 GB, free: 78.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005928/0.9189, allocations: 3.113 MB / 0.5735 GB, free: 77.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000972/0.9199, allocations: 448.9 kB / 0.5739 GB, free: 77.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003265/0.9202, allocations: 10.64 kB / 0.5739 GB, free: 77.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/0.9218, allocations: 79.16 kB / 0.574 GB, free: 77.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002501/0.922, allocations: 96.14 kB / 0.5741 GB, free: 77.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/0.9222, allocations: 44.67 kB / 0.5741 GB, free: 77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00196/0.9242, allocations: 1.084 MB / 0.5752 GB, free: 76.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.9242, allocations: 0 / 0.5752 GB, free: 76.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002486/0.9267, allocations: 0.5053 MB / 0.5757 GB, free: 76.56 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (103): * Single equations (assignments): 98 * 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.0005027/0.9272, allocations: 210.1 kB / 0.5759 GB, free: 76.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004091/0.9313, allocations: 2.153 MB / 0.578 GB, free: 75.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.9313, allocations: 3.344 kB / 0.578 GB, free: 75.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002372/0.9337, allocations: 1.243 MB / 0.5792 GB, free: 74.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/0.9363, allocations: 342.1 kB / 0.5795 GB, free: 74.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.9468, allocations: 4.544 MB / 0.5839 GB, free: 73.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002591/0.9495, allocations: 2.479 MB / 0.5864 GB, free: 72.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002045/0.9515, allocations: 457.5 kB / 0.5868 GB, free: 72.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005522/0.9521, allocations: 115.5 kB / 0.5869 GB, free: 72.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.493e-06/0.9521, allocations: 0 / 0.5869 GB, free: 72.07 MB / 410.7 MB Notification: Performance of Templates: time 0.05466/1.007, allocations: 22.79 MB / 0.6092 GB, free: 68.37 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches