Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.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.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002237/0.002237, allocations: 180.5 kB / 17.41 MB, free: 4.406 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.828/2.828, allocations: 205.4 MB / 223.6 MB, free: 9.035 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.001039/0.001039, allocations: 82.38 kB / 271.9 MB, free: 8.273 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005163/0.0005165, allocations: 12 kB / 328.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4692/0.4698, allocations: 47.56 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1634/0.6332, allocations: 81.11 MB / 456.8 MB, free: 15.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003499/0.6336, allocations: 71.97 kB / 456.9 MB, free: 15.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08303/0.7167, allocations: 18.95 MB / 475.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.945e-06/0.7168, allocations: 0 / 475.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002773/0.7171, allocations: 28 kB / 475.9 MB, free: 12.35 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.006989/0.7241, allocations: 1.454 MB / 477.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.616e-05/0.7242, allocations: 16.03 kB / 477.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.7253, allocations: 143.2 kB / 477.5 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003433/0.7287, allocations: 0.9416 MB / 478.4 MB, free: 9.691 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.7289, allocations: 82.62 kB / 478.5 MB, free: 9.609 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004064/0.7293, allocations: 112.3 kB / 478.6 MB, free: 9.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003633/0.733, allocations: 1.538 MB / 480.1 MB, free: 7.891 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/0.7331, allocations: 4.125 kB / 480.2 MB, free: 7.887 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/0.7332, allocations: 51.94 kB / 480.2 MB, free: 7.836 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.223e-05/0.7332, allocations: 28 kB / 480.2 MB, free: 7.809 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002581/0.7358, allocations: 1.231 MB / 481.5 MB, free: 6.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0103/0.7462, allocations: 4.327 MB / 485.8 MB, free: 2.113 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002447/0.7487, allocations: 1.313 MB / 487.1 MB, free: 0.625 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/0.75, allocations: 477.7 kB / 487.6 MB, free: 160 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.439e-05/0.75, allocations: 8.438 kB / 487.6 MB, free: 152 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.596e-05/0.7501, allocations: 35 kB / 487.6 MB, free: 108 kB / 362.7 MB Notification: Performance of pre-optimization done (n=51): time 9.107e-06/0.7501, allocations: 4 kB / 487.6 MB, free: 104 kB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.002929/0.7531, allocations: 0.8768 MB / 488.5 MB, free: 15.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/0.7532, allocations: 55.84 kB / 488.5 MB, free: 15.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002277/0.7555, allocations: 0.8125 MB / 489.4 MB, free: 14.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001354/0.7557, allocations: 33.7 kB / 489.4 MB, free: 14.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007235/0.7564, allocations: 0.5415 MB / 489.9 MB, free: 13.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003018/0.7567, allocations: 177.4 kB / 490.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.292e-05/0.7568, allocations: 12 kB / 490.1 MB, free: 13.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003283/0.7571, allocations: 386.8 kB / 490.5 MB, free: 13.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009302/0.7581, allocations: 300.9 kB / 490.8 MB, free: 12.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.7591, allocations: 398.5 kB / 491.2 MB, free: 12.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001913/0.7611, allocations: 0.6942 MB / 491.9 MB, free: 11.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.7611, allocations: 0 / 491.9 MB, free: 11.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002649/0.7638, allocations: 0.822 MB / 492.7 MB, free: 10.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.133e-05/0.7638, allocations: 4.281 kB / 492.7 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.7639, allocations: 8 kB / 492.7 MB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.337e-05/0.7639, allocations: 4 kB / 492.7 MB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.765, allocations: 151.8 kB / 492.9 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.833e-05/0.7651, allocations: 4 kB / 492.9 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009885/0.7661, allocations: 71.39 kB / 492.9 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-05/0.7662, allocations: 20 kB / 493 MB, free: 10.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001433/0.7676, allocations: 465.3 kB / 493.4 MB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003592/0.768, allocations: 79.14 kB / 493.5 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003418/0.7683, allocations: 91.08 kB / 493.6 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.7684, allocations: 4 kB / 493.6 MB, free: 9.996 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.728e-05/0.7684, allocations: 0 / 493.6 MB, free: 9.996 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.7684, allocations: 3.984 kB / 493.6 MB, free: 9.992 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005949/0.7744, allocations: 1.918 MB / 495.5 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/0.7745, allocations: 11.88 kB / 495.5 MB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000979/0.7755, allocations: 123.9 kB / 495.6 MB, free: 7.871 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.211e-05/0.7755, allocations: 3.938 kB / 495.6 MB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.35e-05/0.7756, allocations: 11.98 kB / 495.6 MB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-05/0.7756, allocations: 4 kB / 495.7 MB, free: 7.852 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.7756, allocations: 0 / 495.7 MB, free: 7.852 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00323/0.7789, allocations: 1.114 MB / 496.8 MB, free: 6.715 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005979/0.7795, allocations: 180.1 kB / 496.9 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.7797, allocations: 8 kB / 496.9 MB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000797/0.7805, allocations: 55.95 kB / 497 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.7807, allocations: 36.38 kB / 497 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.397e-05/0.7808, allocations: 20 kB / 497.1 MB, free: 6.402 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001411/0.7822, allocations: 0.5732 MB / 497.6 MB, free: 5.836 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.7822, allocations: 0 / 497.6 MB, free: 5.836 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001473/0.7837, allocations: 278.8 kB / 497.9 MB, free: 5.562 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.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 (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003204/0.784, allocations: 115.1 kB / 498 MB, free: 5.438 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002135/0.7862, allocations: 0.6497 MB / 498.7 MB, free: 4.785 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.7862, allocations: 3.938 kB / 498.7 MB, free: 4.781 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009437/0.7872, allocations: 323 kB / 499 MB, free: 4.469 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/0.7891, allocations: 172.3 kB / 499.2 MB, free: 4.301 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007924/0.797, allocations: 2.728 MB / 0.4901 GB, free: 1.523 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001622/0.7987, allocations: 1.321 MB / 0.4914 GB, free: 180 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004822/0.7992, allocations: 51.44 kB / 0.4915 GB, free: 128 kB / 378.7 MB Notification: Performance of SimCode: time 1.132e-06/0.7993, allocations: 3.938 kB / 0.4915 GB, free: 124 kB / 378.7 MB Notification: Performance of Templates: time 0.346/1.145, allocations: 13.1 MB / 0.5043 GB, free: 101.5 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYD/TransformerYD.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches