Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.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_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.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_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 221.5 MB / 230.3 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008412/0.0008413, allocations: 86.19 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.197e-05/1.199e-05, allocations: 0 / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08813/0.08816, allocations: 50.42 MB / 387.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.28/0.3683, allocations: 81.3 MB / 468.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/0.3685, allocations: 67.97 kB / 468.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04639/0.4149, allocations: 19.27 MB / 488.1 MB, free: 10.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.415, allocations: 4 kB / 488.1 MB, free: 10.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.226e-05/0.415, allocations: 28 kB / 488.1 MB, free: 10.05 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.002113/0.4171, allocations: 1.358 MB / 489.5 MB, free: 8.648 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.4172, allocations: 12.03 kB / 489.5 MB, free: 8.637 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002103/0.4174, allocations: 142.3 kB / 489.6 MB, free: 8.496 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.4188, allocations: 0.9098 MB / 490.5 MB, free: 7.539 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/0.4188, allocations: 40 kB / 490.6 MB, free: 7.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.4189, allocations: 64 kB / 490.6 MB, free: 7.438 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001562/0.4205, allocations: 1.098 MB / 491.7 MB, free: 6.336 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/0.4224, allocations: 1.311 MB / 493 MB, free: 4.957 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.4225, allocations: 3.953 kB / 493 MB, free: 4.953 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-05/0.4226, allocations: 0 / 493 MB, free: 4.953 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.355e-05/0.4226, allocations: 28 kB / 493.1 MB, free: 4.926 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005883/0.4285, allocations: 4.088 MB / 497.2 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009189/0.4294, allocations: 1.27 MB / 498.4 MB, free: 15.28 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005035/0.43, allocations: 430 kB / 498.9 MB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.43, allocations: 4.438 kB / 498.9 MB, free: 14.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.43, allocations: 46.98 kB / 498.9 MB, free: 14.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=51): time 2.585e-06/0.43, allocations: 0 / 498.9 MB, free: 14.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.0007695/0.4308, allocations: 0.5577 MB / 499.5 MB, free: 14.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.4309, allocations: 55.84 kB / 499.5 MB, free: 14.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007276/0.4316, allocations: 0.6673 MB / 0.4885 GB, free: 13.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.4316, allocations: 25.7 kB / 0.4885 GB, free: 13.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003161/0.432, allocations: 0.5492 MB / 0.489 GB, free: 12.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.4321, allocations: 165.5 kB / 0.4892 GB, free: 12.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.331e-05/0.4321, allocations: 3.938 kB / 0.4892 GB, free: 12.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4322, allocations: 390.8 kB / 0.4896 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/0.4326, allocations: 269 kB / 0.4898 GB, free: 12.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/0.4329, allocations: 353.4 kB / 0.4901 GB, free: 11.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003989/0.4333, allocations: 333.9 kB / 0.4905 GB, free: 11.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4334, allocations: 0 / 0.4905 GB, free: 11.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008846/0.4342, allocations: 0.7363 MB / 0.4912 GB, free: 10.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.4343, allocations: 5.094 kB / 0.4912 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.4343, allocations: 4 kB / 0.4912 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.4343, allocations: 4 kB / 0.4912 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005837/0.4349, allocations: 151.8 kB / 0.4913 GB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.4349, allocations: 7.938 kB / 0.4914 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003494/0.4353, allocations: 55.62 kB / 0.4914 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/0.4353, allocations: 16 kB / 0.4914 GB, free: 10.4 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 () * 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.0001007/0.4354, allocations: 112.9 kB / 0.4915 GB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.947e-05/0.4355, allocations: 75.11 kB / 0.4916 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.4357, allocations: 86.55 kB / 0.4917 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.4357, allocations: 4 kB / 0.4917 GB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.4357, allocations: 4 kB / 0.4917 GB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.4357, allocations: 3.984 kB / 0.4917 GB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/0.4379, allocations: 1.685 MB / 0.4933 GB, free: 8.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4379, allocations: 0 / 0.4933 GB, free: 8.363 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004913/0.4384, allocations: 123.8 kB / 0.4935 GB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4384, allocations: 0 / 0.4935 GB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/0.4384, allocations: 4 kB / 0.4935 GB, free: 8.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.4385, allocations: 8 kB / 0.4935 GB, free: 8.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.4385, allocations: 4.094 kB / 0.4935 GB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.4395, allocations: 1.038 MB / 0.4945 GB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.4397, allocations: 172.2 kB / 0.4946 GB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.215e-05/0.4398, allocations: 7.953 kB / 0.4947 GB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/0.4401, allocations: 39.95 kB / 0.4947 GB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.028e-05/0.4402, allocations: 44.31 kB / 0.4947 GB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.4403, allocations: 16 kB / 0.4948 GB, free: 6.852 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000527/0.4408, allocations: 0.5186 MB / 0.4953 GB, free: 6.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4408, allocations: 0 / 0.4953 GB, free: 6.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006359/0.4415, allocations: 266.7 kB / 0.4955 GB, free: 6.078 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 () * 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.0001427/0.4416, allocations: 113 kB / 0.4956 GB, free: 5.957 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006888/0.4423, allocations: 0.578 MB / 0.4962 GB, free: 5.371 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.279e-06/0.4423, allocations: 4.125 kB / 0.4962 GB, free: 5.367 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003056/0.4426, allocations: 281.4 kB / 0.4965 GB, free: 5.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006918/0.4433, allocations: 147.3 kB / 0.4966 GB, free: 4.945 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002918/0.4462, allocations: 1.806 MB / 0.4984 GB, free: 3.098 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008085/0.4471, allocations: 1.359 MB / 0.4997 GB, free: 1.711 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004756/0.4476, allocations: 205.5 kB / 0.4999 GB, free: 1.508 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.4477, allocations: 59.3 kB / 0.4999 GB, free: 1.449 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.4477, allocations: 4 kB / 0.4999 GB, free: 1.445 MB / 378.7 MB Notification: Performance of Templates: time 0.01338/0.4611, allocations: 7.696 MB / 0.5075 GB, free: 9.852 MB / 394.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches