Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001905/0.001905, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.895/2.895, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.0012/0.0012, allocations: 81.44 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004816/0.0004817, allocations: 8 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4571/0.4577, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1847/0.6424, allocations: 92.23 MB / 468 MB, free: 4.395 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000474/0.643, allocations: 91.89 kB / 468 MB, free: 4.305 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5924/1.235, allocations: 73.9 MB / 0.5292 GB, free: 84.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.414e-06/1.236, allocations: 0 / 0.5292 GB, free: 84.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0006473/1.236, allocations: 86.03 kB / 0.5293 GB, free: 84.09 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.01738/1.254, allocations: 3.17 MB / 0.5324 GB, free: 82.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.316e-05/1.254, allocations: 7.844 kB / 0.5324 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003481/1.257, allocations: 403.2 kB / 0.5328 GB, free: 81.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00958/1.267, allocations: 2.247 MB / 0.535 GB, free: 79.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003955/1.267, allocations: 218.2 kB / 0.5352 GB, free: 79.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002197/1.27, allocations: 287 kB / 0.5355 GB, free: 79.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01723/1.287, allocations: 4.162 MB / 0.5395 GB, free: 75.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001781/1.287, allocations: 192 / 0.5395 GB, free: 75.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001799/1.289, allocations: 123.9 kB / 0.5397 GB, free: 74.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002875/1.289, allocations: 145.8 kB / 0.5398 GB, free: 74.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01273/1.302, allocations: 3.213 MB / 0.5429 GB, free: 71.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04017/1.342, allocations: 11.02 MB / 0.5537 GB, free: 60.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004743/1.347, allocations: 2.634 MB / 0.5563 GB, free: 57.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003871/1.351, allocations: 1.479 MB / 0.5577 GB, free: 56.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00059/1.352, allocations: 145.2 kB / 0.5579 GB, free: 56.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.069e-05/1.352, allocations: 51.5 kB / 0.5579 GB, free: 55.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 7.374e-06/1.352, allocations: 0 / 0.5579 GB, free: 55.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=133): time 0.01676/1.369, allocations: 5.294 MB / 0.5631 GB, free: 50.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.642e-05/1.369, allocations: 90.42 kB / 0.5632 GB, free: 50.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006585/1.375, allocations: 1.914 MB / 0.565 GB, free: 48.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004733/1.376, allocations: 49.7 kB / 0.5651 GB, free: 48.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001242/1.377, allocations: 1.312 MB / 0.5664 GB, free: 47.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000808/1.378, allocations: 458.7 kB / 0.5668 GB, free: 46.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003211/1.378, allocations: 24 kB / 0.5668 GB, free: 46.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002352/1.379, allocations: 365.9 kB / 0.5672 GB, free: 46.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002236/1.381, allocations: 0.8159 MB / 0.568 GB, free: 45.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002445/1.383, allocations: 1.169 MB / 0.5691 GB, free: 44.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004446/1.388, allocations: 2.066 MB / 0.5711 GB, free: 42.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.596e-05/1.388, allocations: 7.938 kB / 0.5711 GB, free: 42.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.007346/1.395, allocations: 2.511 MB / 0.5736 GB, free: 39.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.779e-05/1.395, allocations: 8 kB / 0.5736 GB, free: 39.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.926e-05/1.395, allocations: 12 kB / 0.5736 GB, free: 39.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001593/1.397, allocations: 367.3 kB / 0.574 GB, free: 39.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00206/1.399, allocations: 335.4 kB / 0.5743 GB, free: 38.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007465/1.407, allocations: 4.065 MB / 0.5782 GB, free: 34.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003075/1.41, allocations: 91.89 kB / 0.5783 GB, free: 34.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006487/1.41, allocations: 63.98 kB / 0.5784 GB, free: 34.45 MB / 378.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 (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.004833/1.415, allocations: 1.048 MB / 0.5794 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001686/1.417, allocations: 193.7 kB / 0.5796 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006966/1.424, allocations: 2.168 MB / 0.5817 GB, free: 31.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.606e-05/1.424, allocations: 12 kB / 0.5817 GB, free: 31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-05/1.424, allocations: 7.984 kB / 0.5817 GB, free: 31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.203e-05/1.424, allocations: 3.984 kB / 0.5817 GB, free: 30.99 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01751/1.442, allocations: 5.236 MB / 0.5869 GB, free: 25.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.515e-05/1.442, allocations: 4 kB / 0.5869 GB, free: 25.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001536/1.443, allocations: 235.6 kB / 0.5871 GB, free: 25.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001501/1.445, allocations: 337.2 kB / 0.5874 GB, free: 25.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002187/1.445, allocations: 31.98 kB / 0.5874 GB, free: 25.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006882/1.452, allocations: 3.977 MB / 0.5913 GB, free: 20.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.303e-06/1.452, allocations: 0 / 0.5913 GB, free: 20.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008513/1.461, allocations: 3.264 MB / 0.5945 GB, free: 17.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002369/1.463, allocations: 466.7 kB / 0.595 GB, free: 17.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001052/1.464, allocations: 39.92 kB / 0.595 GB, free: 17.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002587/1.467, allocations: 108 kB / 0.5951 GB, free: 17.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004295/1.467, allocations: 88.88 kB / 0.5952 GB, free: 16.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002436/1.468, allocations: 47.92 kB / 0.5952 GB, free: 16.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004929/1.473, allocations: 1.342 MB / 0.5965 GB, free: 15.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.21e-07/1.473, allocations: 0 / 0.5965 GB, free: 15.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005727/1.478, allocations: 0.5703 MB / 0.5971 GB, free: 15.02 MB / 378.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 () * Number of clocked 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.001177/1.48, allocations: 215.9 kB / 0.5973 GB, free: 14.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006353/1.486, allocations: 2.308 MB / 0.5996 GB, free: 12.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.078e-05/1.486, allocations: 4 kB / 0.5996 GB, free: 12.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003393/1.489, allocations: 1.32 MB / 0.6008 GB, free: 11.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007275/1.497, allocations: 496.8 kB / 0.6013 GB, free: 10.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02168/1.519, allocations: 6.711 MB / 0.6079 GB, free: 3.844 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005041/1.524, allocations: 2.363 MB / 0.6102 GB, free: 1.449 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/1.525, allocations: 143.4 kB / 0.6103 GB, free: 1.309 MB / 378.7 MB Notification: Performance of SimCode: time 1.663e-06/1.525, allocations: 0 / 0.6103 GB, free: 1.309 MB / 378.7 MB Notification: Performance of Templates: time 0.5261/2.051, allocations: 50.76 MB / 0.6599 GB, free: 104.4 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches