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.001117/0.001117, allocations: 107.6 kB / 17.06 MB, free: 5.824 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.00112/0.00112, allocations: 192 kB / 18 MB, free: 4.977 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.348/1.348, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 39.94 kB / 351.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2737, allocations: 49.45 MB / 400.7 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004461/0.2782, allocations: 3.774 MB / 404.5 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.2799, allocations: 0.9892 MB / 405.5 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001969/0.2801, allocations: 19.94 kB / 405.5 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003077/0.2804, allocations: 154.8 kB / 405.7 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006919/0.2811, allocations: 314.3 kB / 406 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.2813, allocations: 119.8 kB / 406.1 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001184/0.2825, allocations: 1.409 MB / 407.5 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.2837, allocations: 1.213 MB / 408.7 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005932/0.2843, allocations: 0.6464 MB / 409.3 MB, free: 168 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000868/0.2852, allocations: 0.7668 MB / 410.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001783/0.2854, allocations: 160 kB / 410.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.2856, allocations: 160 kB / 410.4 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000382/0.286, allocations: 470.7 kB / 410.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000695/0.2867, allocations: 0.7389 MB / 411.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00168/0.2884, allocations: 2.069 MB / 413.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2884, allocations: 0 / 413.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2884, allocations: 0 / 413.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.283e-05/0.2884, allocations: 0 / 413.7 MB, free: 11.81 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.002738/0.2912, allocations: 1.691 MB / 415.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.2912, allocations: 8.031 kB / 415.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002465/0.2915, allocations: 139.3 kB / 415.5 MB, free: 9.918 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.2927, allocations: 0.889 MB / 416.4 MB, free: 8.988 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.28e-05/0.2928, allocations: 90.31 kB / 416.5 MB, free: 8.898 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.293, allocations: 111.9 kB / 416.6 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002311/0.2953, allocations: 1.564 MB / 418.2 MB, free: 7.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.2953, allocations: 0 / 418.2 MB, free: 7.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.2954, allocations: 55.98 kB / 418.2 MB, free: 7.125 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.2955, allocations: 28 kB / 418.3 MB, free: 7.098 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002044/0.2975, allocations: 1.332 MB / 419.6 MB, free: 5.758 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006074/0.3036, allocations: 4.267 MB / 423.9 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.3049, allocations: 1.341 MB / 425.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009023/0.3058, allocations: 0.5222 MB / 425.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.3058, allocations: 12.42 kB / 425.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.3059, allocations: 39 kB / 425.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.595e-06/0.3059, allocations: 0 / 425.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.001428/0.3073, allocations: 0.8729 MB / 426.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.3074, allocations: 59.78 kB / 426.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009528/0.3083, allocations: 0.8242 MB / 427.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/0.3084, allocations: 37.7 kB / 427.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003981/0.3088, allocations: 0.5415 MB / 428.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.3089, allocations: 181.4 kB / 428.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.3091, allocations: 102.2 kB / 428.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.3093, allocations: 386.8 kB / 428.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004706/0.3097, allocations: 300.9 kB / 429.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005425/0.3103, allocations: 390.5 kB / 429.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.3113, allocations: 0.7019 MB / 430.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3113, allocations: 0 / 430.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001226/0.3126, allocations: 0.8221 MB / 431 MB, free: 9.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3126, allocations: 4 kB / 431 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.3126, allocations: 4 kB / 431 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3126, allocations: 4 kB / 431 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005861/0.3132, allocations: 147.8 kB / 431.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.3132, allocations: 4 kB / 431.1 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003899/0.3136, allocations: 67.34 kB / 431.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.162e-05/0.3137, allocations: 32.03 kB / 431.2 MB, free: 9.68 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.0005587/0.3143, allocations: 453.4 kB / 431.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.3144, allocations: 75.16 kB / 431.7 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.3145, allocations: 91.08 kB / 431.8 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.3146, allocations: 7.984 kB / 431.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.3146, allocations: 4 kB / 431.8 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.3146, allocations: 3.938 kB / 431.8 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002888/0.3175, allocations: 1.938 MB / 433.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.3175, allocations: 3.984 kB / 433.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004892/0.318, allocations: 115.9 kB / 433.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.318, allocations: 4 kB / 433.9 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.67e-05/0.3181, allocations: 19.98 kB / 433.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.3181, allocations: 4 kB / 433.9 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.3181, allocations: 3.938 kB / 433.9 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.3195, allocations: 1.126 MB / 435.1 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.3197, allocations: 176.2 kB / 435.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.3198, allocations: 16 kB / 435.2 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/0.3203, allocations: 39.95 kB / 435.3 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.3204, allocations: 52.25 kB / 435.3 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/0.3204, allocations: 12 kB / 435.3 MB, free: 5.418 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007205/0.3211, allocations: 0.5927 MB / 435.9 MB, free: 4.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3211, allocations: 0 / 435.9 MB, free: 4.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007038/0.3219, allocations: 286.7 kB / 436.2 MB, free: 4.547 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.0001528/0.322, allocations: 113.7 kB / 436.3 MB, free: 4.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.3231, allocations: 0.6538 MB / 437 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3231, allocations: 0 / 437 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004755/0.3236, allocations: 322.2 kB / 437.3 MB, free: 3.453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009182/0.3245, allocations: 183.3 kB / 437.5 MB, free: 3.277 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/0.3284, allocations: 2.262 MB / 439.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/0.3295, allocations: 1.34 MB / 441.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004743/0.3299, allocations: 205.8 kB / 441.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.3301, allocations: 55.44 kB / 441.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of SimCode: time 2.004e-06/0.3301, allocations: 4 kB / 441.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of Templates: time 0.01738/0.3475, allocations: 10.15 MB / 451.5 MB, free: 5.297 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