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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 113.8 kB / 17.06 MB, free: 5.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 198.8 kB / 18.01 MB, free: 4.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009944/0.0009944, allocations: 43.92 kB / 351.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2532, allocations: 49.44 MB / 400.7 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004896/0.2582, allocations: 3.769 MB / 404.5 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.2599, allocations: 0.997 MB / 405.5 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002131/0.2601, allocations: 23.88 kB / 405.5 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00031/0.2604, allocations: 146.8 kB / 405.7 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007418/0.2612, allocations: 302.4 kB / 405.9 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.2615, allocations: 115.9 kB / 406.1 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001215/0.2627, allocations: 1.409 MB / 407.5 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.2639, allocations: 1.217 MB / 408.7 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006663/0.2646, allocations: 0.6425 MB / 409.3 MB, free: 164 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000911/0.2655, allocations: 0.7707 MB / 410.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002053/0.2657, allocations: 160 kB / 410.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002554/0.266, allocations: 164 kB / 410.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003777/0.2664, allocations: 462.7 kB / 410.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006815/0.267, allocations: 0.7467 MB / 411.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001685/0.2687, allocations: 2.067 MB / 413.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2688, allocations: 0 / 413.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2688, allocations: 0 / 413.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.835e-05/0.2688, allocations: 0 / 413.7 MB, free: 11.79 MB / 334.1 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.003056/0.2719, allocations: 1.725 MB / 415.4 MB, free: 10.01 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.2719, allocations: 12.03 kB / 415.4 MB, free: 9.996 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002523/0.2722, allocations: 148 kB / 415.6 MB, free: 9.852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.2735, allocations: 0.8858 MB / 416.4 MB, free: 8.926 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-05/0.2736, allocations: 98.31 kB / 416.5 MB, free: 8.828 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/0.2737, allocations: 108 kB / 416.6 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/0.2761, allocations: 1.568 MB / 418.2 MB, free: 7.109 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.2761, allocations: 0 / 418.2 MB, free: 7.109 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.2762, allocations: 48 kB / 418.3 MB, free: 7.062 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/0.2762, allocations: 24 kB / 418.3 MB, free: 7.039 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/0.2783, allocations: 1.34 MB / 419.6 MB, free: 5.691 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00618/0.2845, allocations: 4.288 MB / 423.9 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.2857, allocations: 1.33 MB / 425.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008706/0.2866, allocations: 0.5261 MB / 425.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.2867, allocations: 4.438 kB / 425.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.2867, allocations: 39 kB / 425.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.264e-06/0.2867, allocations: 0 / 425.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.001463/0.2882, allocations: 0.885 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.2882, allocations: 55.84 kB / 426.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009943/0.2892, allocations: 0.8242 MB / 427.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.166e-05/0.2893, allocations: 33.7 kB / 427.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003654/0.2896, allocations: 0.5546 MB / 428.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.2898, allocations: 182.4 kB / 428.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/0.29, allocations: 102.2 kB / 428.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.2902, allocations: 386.8 kB / 428.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004942/0.2907, allocations: 304.9 kB / 429.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000497/0.2912, allocations: 394.5 kB / 429.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009415/0.2921, allocations: 0.6941 MB / 430.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.2921, allocations: 4 kB / 430.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001201/0.2934, allocations: 0.8226 MB / 431 MB, free: 9.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.2934, allocations: 8 kB / 431 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2934, allocations: 0 / 431 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.2934, allocations: 8 kB / 431 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005927/0.294, allocations: 147.8 kB / 431.2 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.294, allocations: 4 kB / 431.2 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003718/0.2944, allocations: 71.47 kB / 431.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.2945, allocations: 23.92 kB / 431.3 MB, free: 9.59 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005842/0.2951, allocations: 465.5 kB / 431.7 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.2952, allocations: 75.53 kB / 431.8 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.2954, allocations: 95.08 kB / 431.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.2954, allocations: 4 kB / 431.9 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.2954, allocations: 0 / 431.9 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.2954, allocations: 11.91 kB / 431.9 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002759/0.2982, allocations: 1.938 MB / 433.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2982, allocations: 4.156 kB / 433.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004942/0.2987, allocations: 119.9 kB / 434 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.2987, allocations: 4 kB / 434 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-05/0.2987, allocations: 16 kB / 434 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.2988, allocations: 3.938 kB / 434 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2988, allocations: 7.984 kB / 434 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.3003, allocations: 1.122 MB / 435.1 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.3004, allocations: 176.5 kB / 435.3 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.845e-05/0.3005, allocations: 15.92 kB / 435.3 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/0.3009, allocations: 51.95 kB / 435.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.618e-05/0.301, allocations: 44.31 kB / 435.4 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.3011, allocations: 12 kB / 435.4 MB, free: 5.309 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006933/0.3018, allocations: 0.5927 MB / 436 MB, free: 4.719 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3018, allocations: 4 kB / 436 MB, free: 4.715 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006871/0.3025, allocations: 287 kB / 436.3 MB, free: 4.434 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001583/0.3026, allocations: 122.1 kB / 436.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009977/0.3037, allocations: 0.654 MB / 437.1 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3037, allocations: 4.125 kB / 437.1 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004407/0.3041, allocations: 322.2 kB / 437.4 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008526/0.305, allocations: 174.2 kB / 437.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/0.3083, allocations: 2.304 MB / 439.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009616/0.3093, allocations: 1.336 MB / 441.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004594/0.3098, allocations: 201.8 kB / 441.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.31, allocations: 59.42 kB / 441.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.31, allocations: 0 / 441.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of Templates: time 0.01761/0.3276, allocations: 10.17 MB / 451.6 MB, free: 5.145 MB / 366.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches