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.001626/0.001625, allocations: 184.6 kB / 16.41 MB, free: 5.703 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.951/1.951, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001246/0.001246, allocations: 78.98 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003921, allocations: 8 kB / 327 MB, free: 224 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3403, allocations: 47.57 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1387/0.4791, allocations: 81.03 MB / 455.6 MB, free: 15.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/0.4794, allocations: 83.94 kB / 455.6 MB, free: 15.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08451/0.564, allocations: 18.94 MB / 474.6 MB, free: 12.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.564, allocations: 4 kB / 474.6 MB, free: 12.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000145/0.5642, allocations: 31.98 kB / 474.6 MB, free: 12.55 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.005725/0.5699, allocations: 1.465 MB / 476.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.57, allocations: 12.03 kB / 476.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000771/0.5708, allocations: 146.3 kB / 476.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003051/0.5739, allocations: 0.9217 MB / 477.2 MB, free: 9.914 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.574, allocations: 86.2 kB / 477.3 MB, free: 9.828 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003904/0.5744, allocations: 108 kB / 477.4 MB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004919/0.5794, allocations: 1.529 MB / 478.9 MB, free: 8.121 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.619e-05/0.5795, allocations: 4 kB / 478.9 MB, free: 8.117 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002021/0.5797, allocations: 48 kB / 478.9 MB, free: 8.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-05/0.5797, allocations: 24 kB / 479 MB, free: 8.047 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004452/0.5842, allocations: 1.231 MB / 480.2 MB, free: 6.809 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01317/0.5974, allocations: 4.312 MB / 484.5 MB, free: 2.363 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00221/0.5997, allocations: 1.33 MB / 485.8 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.911e-05/0.5999, allocations: 8.375 kB / 485.8 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/0.5999, allocations: 39 kB / 485.9 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of pre-optimization done (n=51): time 3.928e-06/0.5999, allocations: 4 kB / 485.9 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.002936/0.6029, allocations: 0.8691 MB / 486.8 MB, free: 15.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.603, allocations: 59.84 kB / 486.8 MB, free: 15.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/0.6048, allocations: 0.7337 MB / 487.5 MB, free: 15.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001545/0.605, allocations: 33.7 kB / 487.6 MB, free: 15.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005133/0.6055, allocations: 0.5517 MB / 488.1 MB, free: 14.51 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002784/0.6058, allocations: 177.3 kB / 488.3 MB, free: 14.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.465e-05/0.6059, allocations: 16 kB / 488.3 MB, free: 14.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.6061, allocations: 338.8 kB / 488.6 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008964/0.607, allocations: 304.9 kB / 488.9 MB, free: 13.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009064/0.6079, allocations: 394.5 kB / 489.3 MB, free: 13.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009643/0.6089, allocations: 366 kB / 489.7 MB, free: 12.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.6089, allocations: 3.938 kB / 489.7 MB, free: 12.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002058/0.611, allocations: 0.7681 MB / 490.5 MB, free: 12.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.882e-05/0.6111, allocations: 8 kB / 490.5 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.6111, allocations: 0 / 490.5 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.067e-05/0.6111, allocations: 8 kB / 490.5 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.6124, allocations: 151.8 kB / 490.6 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.19e-05/0.6125, allocations: 8.094 kB / 490.6 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008688/0.6133, allocations: 67.41 kB / 490.7 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.292e-05/0.6134, allocations: 20 kB / 490.7 MB, free: 11.87 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.001131/0.6146, allocations: 465.3 kB / 491.2 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002943/0.6149, allocations: 75.16 kB / 491.2 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002882/0.6152, allocations: 87.08 kB / 491.3 MB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.6152, allocations: 4 kB / 491.3 MB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.6152, allocations: 4 kB / 491.3 MB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.6153, allocations: 7.984 kB / 491.3 MB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005372/0.6206, allocations: 1.911 MB / 493.3 MB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.6207, allocations: 8.078 kB / 493.3 MB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.6218, allocations: 119.8 kB / 493.4 MB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.665e-05/0.6218, allocations: 4 kB / 493.4 MB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.46e-05/0.6219, allocations: 15.94 kB / 493.4 MB, free: 9.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.166e-05/0.6219, allocations: 3.984 kB / 493.4 MB, free: 9.102 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.622, allocations: 7.938 kB / 493.4 MB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002803/0.6248, allocations: 1.143 MB / 494.6 MB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004533/0.6253, allocations: 168.2 kB / 494.7 MB, free: 7.723 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001786/0.6255, allocations: 12 kB / 494.7 MB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000784/0.6263, allocations: 59.94 kB / 494.8 MB, free: 7.652 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.6265, allocations: 36.48 kB / 494.8 MB, free: 7.613 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.507e-05/0.6265, allocations: 19.89 kB / 494.8 MB, free: 7.594 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001342/0.6279, allocations: 0.5771 MB / 495.4 MB, free: 7.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6279, allocations: 0 / 495.4 MB, free: 7.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001318/0.6293, allocations: 286.8 kB / 495.7 MB, free: 6.738 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.000282/0.6296, allocations: 123.1 kB / 495.8 MB, free: 6.609 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001938/0.6315, allocations: 0.646 MB / 496.5 MB, free: 5.965 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/0.6316, allocations: 4 kB / 496.5 MB, free: 5.961 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008435/0.6324, allocations: 318.2 kB / 496.8 MB, free: 5.652 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.6341, allocations: 161.2 kB / 496.9 MB, free: 5.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006894/0.641, allocations: 2.729 MB / 499.7 MB, free: 2.719 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001461/0.6425, allocations: 1.34 MB / 0.4893 GB, free: 1.352 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004307/0.643, allocations: 51.44 kB / 0.4893 GB, free: 1.301 MB / 378.7 MB Notification: Performance of SimCode: time 1.192e-06/0.643, allocations: 3.938 kB / 0.4893 GB, free: 1.297 MB / 378.7 MB Notification: Performance of Templates: time 0.3006/0.9436, allocations: 12.92 MB / 0.5019 GB, free: 100.9 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