Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001312/0.001313, allocations: 177.9 kB / 16.41 MB, free: 5.707 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.327/1.327, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0007303/0.0007304, allocations: 90.3 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004269/0.000427, allocations: 12 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2384, allocations: 47.57 MB / 374.6 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.01839/0.2568, allocations: 25.53 MB / 400.1 MB, free: 23.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01267/0.2695, allocations: 6.82 MB / 406.9 MB, free: 16.42 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003824/0.2734, allocations: 207.3 kB / 407.1 MB, free: 16.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003765/0.2771, allocations: 1.413 MB / 408.5 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006753/0.2839, allocations: 2.547 MB / 411.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003629/0.2875, allocations: 1.407 MB / 412.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.02357/0.3111, allocations: 23.93 MB / 436.4 MB, free: 2.84 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06547/0.3766, allocations: 35.79 MB / 472.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01122/0.3879, allocations: 7.051 MB / 479.2 MB, free: 7.844 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01242/0.4004, allocations: 8.211 MB / 487.5 MB, free: 15.6 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003302/0.4037, allocations: 1.168 MB / 488.6 MB, free: 14.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005521/0.4092, allocations: 1.394 MB / 490 MB, free: 13.04 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004626/0.4139, allocations: 3.457 MB / 493.5 MB, free: 9.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005768/0.4197, allocations: 3.712 MB / 497.2 MB, free: 5.844 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3163/0.736, allocations: 33.72 MB / 0.5185 GB, free: 36.64 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.7361, allocations: 0 / 0.5185 GB, free: 36.64 MB / 378.8 MB Notification: Performance of FrontEnd: time 2.815e-06/0.7361, allocations: 0 / 0.5185 GB, free: 36.64 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.001065/0.7372, allocations: 0 / 0.5185 GB, free: 36.64 MB / 378.8 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.04824/0.7854, allocations: 18.98 MB / 0.537 GB, free: 27.56 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.7855, allocations: 8.875 kB / 0.537 GB, free: 27.56 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06129/0.8468, allocations: 12.34 MB / 0.5491 GB, free: 20.78 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02097/0.8678, allocations: 10.46 MB / 0.5593 GB, free: 14.6 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009184/0.8688, allocations: 1.396 MB / 0.5606 GB, free: 13.81 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006103/0.8749, allocations: 1.825 MB / 0.5624 GB, free: 12.59 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06601/0.9409, allocations: 30.74 MB / 0.5924 GB, free: 4.562 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004614/0.9414, allocations: 27.8 kB / 0.5925 GB, free: 4.535 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003735/0.9451, allocations: 0.7588 MB / 0.5932 GB, free: 3.793 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008667/0.946, allocations: 0.9927 MB / 0.5942 GB, free: 2.801 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05335/0.9994, allocations: 27.75 MB / 0.6213 GB, free: 7.031 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3165/1.316, allocations: 94.55 MB / 0.7136 GB, free: 98.62 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02776/1.344, allocations: 53.33 MB / 0.7657 GB, free: 46.97 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008393/1.352, allocations: 5.895 MB / 0.7715 GB, free: 44.04 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02403/1.376, allocations: 16.87 MB / 0.7879 GB, free: 28.5 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.827e-05/1.376, allocations: 85.89 kB / 0.788 GB, free: 28.41 MB / 458.8 MB Notification: Performance of pre-optimization done (n=439): time 5.731e-06/1.376, allocations: 0 / 0.788 GB, free: 28.41 MB / 458.8 MB Notification: Performance of matching and sorting (n=439): time 0.02876/1.405, allocations: 13.12 MB / 0.8008 GB, free: 15.25 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/1.405, allocations: 124.5 kB / 0.8009 GB, free: 15.11 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01031/1.415, allocations: 7.43 MB / 0.8082 GB, free: 7.684 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004461/1.416, allocations: 97.7 kB / 0.8083 GB, free: 7.582 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003722/1.42, allocations: 8.525 MB / 0.8166 GB, free: 15.02 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001636/1.421, allocations: 1.59 MB / 0.8182 GB, free: 13.44 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007527/1.422, allocations: 216 kB / 0.8184 GB, free: 13.23 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0006965/1.423, allocations: 0.7686 MB / 0.8191 GB, free: 12.45 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0073/1.43, allocations: 4.737 MB / 0.8238 GB, free: 7.711 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01128/1.441, allocations: 10.45 MB / 0.834 GB, free: 10.51 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01048/1.452, allocations: 7.314 MB / 0.8411 GB, free: 3.148 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001284/1.452, allocations: 56 kB / 0.8411 GB, free: 3.094 MB / 490.8 MB Notification: Performance of matching and sorting (n=1411) (initialization): time 0.196/1.648, allocations: 16.07 MB / 0.8568 GB, free: 159.3 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/1.648, allocations: 90.34 kB / 0.8569 GB, free: 159.3 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003017/1.648, allocations: 199.2 kB / 0.8571 GB, free: 159.3 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005318/1.654, allocations: 1.727 MB / 0.8588 GB, free: 159 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007897/1.662, allocations: 2.499 MB / 0.8612 GB, free: 158.7 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01276/1.674, allocations: 10.78 MB / 0.8718 GB, free: 153.2 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009013/1.684, allocations: 1.557 MB / 0.8733 GB, free: 152.5 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001457/1.685, allocations: 0.601 MB / 0.8739 GB, free: 152.4 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * 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 (1318): * Single equations (assignments): 1309 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,77.8%) 80} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01103/1.696, allocations: 7.397 MB / 0.8811 GB, free: 148.9 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001137/1.697, allocations: 0.6248 MB / 0.8817 GB, free: 148.2 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/1.709, allocations: 8.246 MB / 0.8898 GB, free: 141.3 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008098/1.717, allocations: 6.613 MB / 0.8962 GB, free: 135.6 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/1.717, allocations: 12 kB / 0.8962 GB, free: 135.6 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.199e-05/1.718, allocations: 22.03 kB / 0.8963 GB, free: 135.6 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02916/1.747, allocations: 20.98 MB / 0.9167 GB, free: 116.2 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/1.747, allocations: 0 / 0.9167 GB, free: 116.2 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002925/1.75, allocations: 0.7663 MB / 0.9175 GB, free: 115.4 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005111/1.755, allocations: 1.459 MB / 0.9189 GB, free: 114 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003271/1.755, allocations: 91.98 kB / 0.919 GB, free: 113.9 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01132/1.766, allocations: 10.42 MB / 0.9292 GB, free: 103.3 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.766, allocations: 0 / 0.9292 GB, free: 103.3 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01403/1.781, allocations: 11.93 MB / 0.9408 GB, free: 91.34 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002557/1.783, allocations: 1.374 MB / 0.9422 GB, free: 89.93 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007804/1.784, allocations: 77.31 kB / 0.9423 GB, free: 89.86 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002646/1.787, allocations: 303.7 kB / 0.9425 GB, free: 89.56 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004831/1.787, allocations: 301.1 kB / 0.9428 GB, free: 89.27 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002525/1.787, allocations: 123.9 kB / 0.9429 GB, free: 89.15 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.00607/1.793, allocations: 4.879 MB / 0.9477 GB, free: 84.29 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.6e-07/1.793, allocations: 0 / 0.9477 GB, free: 84.29 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.009709/1.803, allocations: 4.18 MB / 0.9518 GB, free: 80.09 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (source.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 (387): * Single equations (assignments): 378 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,75.0%) 80} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006621/1.804, allocations: 283.5 kB / 0.9521 GB, free: 79.82 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0135/1.817, allocations: 11.08 MB / 0.9629 GB, free: 68.77 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/1.817, allocations: 0 / 0.9629 GB, free: 68.77 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004773/1.822, allocations: 4.01 MB / 0.9668 GB, free: 64.75 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006377/1.829, allocations: 1.469 MB / 0.9682 GB, free: 63.29 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04502/1.874, allocations: 35.37 MB / 1.003 GB, free: 27.92 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01138/1.885, allocations: 11.24 MB / 1.014 GB, free: 16.64 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002203/1.887, allocations: 0.5957 MB / 1.014 GB, free: 16.05 MB / 490.8 MB Notification: Performance of SimCode: time 6.82e-07/1.887, allocations: 0 / 1.014 GB, free: 16.05 MB / 490.8 MB Notification: Performance of Templates: time 0.6252/2.512, allocations: 288.2 MB / 1.296 GB, free: 96.9 MB / 0.4949 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches