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.001123/0.001123, allocations: 110.3 kB / 17.06 MB, free: 6.129 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.001117/0.001117, allocations: 191 kB / 18 MB, free: 5.207 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.325/1.325, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 39.94 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3237, allocations: 49.44 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004952/0.3287, allocations: 3.774 MB / 404.5 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.3309, allocations: 0.993 MB / 405.5 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002357/0.3311, allocations: 19.94 kB / 405.5 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.3315, allocations: 154.8 kB / 405.7 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007632/0.3323, allocations: 302.4 kB / 406 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.3325, allocations: 119.8 kB / 406.1 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001268/0.3338, allocations: 1.412 MB / 407.5 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.3351, allocations: 1.217 MB / 408.7 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006511/0.3357, allocations: 0.6464 MB / 409.3 MB, free: 180 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.3367, allocations: 0.7746 MB / 410.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001728/0.3369, allocations: 156 kB / 410.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002047/0.3371, allocations: 160 kB / 410.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003694/0.3375, allocations: 470.7 kB / 410.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000695/0.3382, allocations: 0.7311 MB / 411.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001615/0.3398, allocations: 2.065 MB / 413.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.3399, allocations: 0 / 413.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3399, allocations: 4 kB / 413.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.3399, allocations: 0 / 413.7 MB, free: 11.82 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.002633/0.3425, allocations: 1.691 MB / 415.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.3426, allocations: 8.031 kB / 415.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000229/0.3428, allocations: 139.3 kB / 415.5 MB, free: 9.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.3441, allocations: 0.8851 MB / 416.4 MB, free: 9.004 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.314e-05/0.3442, allocations: 86.38 kB / 416.5 MB, free: 8.918 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.3444, allocations: 111.9 kB / 416.6 MB, free: 8.809 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002254/0.3466, allocations: 1.58 MB / 418.2 MB, free: 7.184 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.3466, allocations: 0 / 418.2 MB, free: 7.184 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.3468, allocations: 48 kB / 418.2 MB, free: 7.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.065e-05/0.3468, allocations: 28 kB / 418.3 MB, free: 7.109 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/0.3488, allocations: 1.328 MB / 419.6 MB, free: 5.773 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006106/0.3549, allocations: 4.275 MB / 423.9 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.356, allocations: 1.338 MB / 425.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008592/0.3569, allocations: 0.5222 MB / 425.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.357, allocations: 8.438 kB / 425.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.357, allocations: 46.92 kB / 425.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.084e-06/0.357, allocations: 4 kB / 425.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.001384/0.3584, allocations: 0.8651 MB / 426.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.3585, allocations: 55.84 kB / 426.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009815/0.3594, allocations: 0.8281 MB / 427.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/0.3595, allocations: 33.7 kB / 427.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003709/0.3599, allocations: 0.5454 MB / 428.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.36, allocations: 181.4 kB / 428.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.3602, allocations: 106.1 kB / 428.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3604, allocations: 386.8 kB / 428.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004371/0.3608, allocations: 300.9 kB / 429.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004907/0.3613, allocations: 394.5 kB / 429.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009183/0.3622, allocations: 0.6942 MB / 430.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3622, allocations: 0 / 430.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001196/0.3634, allocations: 0.8181 MB / 431 MB, free: 9.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.3635, allocations: 4 kB / 431 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.3635, allocations: 4 kB / 431 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.3635, allocations: 7.984 kB / 431 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005797/0.3641, allocations: 152.1 kB / 431.1 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.3641, allocations: 7.938 kB / 431.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.3645, allocations: 71.34 kB / 431.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.651e-05/0.3645, allocations: 23.98 kB / 431.2 MB, free: 9.688 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.0005609/0.3651, allocations: 449.5 kB / 431.7 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.3652, allocations: 83.09 kB / 431.7 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/0.3654, allocations: 91.06 kB / 431.8 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.3654, allocations: 8 kB / 431.8 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.3654, allocations: 4 kB / 431.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.3654, allocations: 3.938 kB / 431.8 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002731/0.3681, allocations: 1.938 MB / 433.8 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.3682, allocations: 0 / 433.8 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004807/0.3686, allocations: 119.8 kB / 433.9 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.3687, allocations: 4 kB / 433.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.508e-05/0.3687, allocations: 20.14 kB / 433.9 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.3687, allocations: 4 kB / 433.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.3687, allocations: 0 / 433.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.3701, allocations: 1.126 MB / 435 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.3703, allocations: 176.2 kB / 435.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.904e-05/0.3704, allocations: 16 kB / 435.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003871/0.3708, allocations: 47.94 kB / 435.3 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.601e-05/0.3709, allocations: 44.33 kB / 435.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/0.3709, allocations: 16 kB / 435.3 MB, free: 5.422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006739/0.3716, allocations: 0.5849 MB / 435.9 MB, free: 4.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.4e-07/0.3716, allocations: 0 / 435.9 MB, free: 4.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006695/0.3723, allocations: 286.7 kB / 436.2 MB, free: 4.559 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.0001607/0.3725, allocations: 119.1 kB / 436.3 MB, free: 4.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009843/0.3735, allocations: 0.6458 MB / 437 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.3735, allocations: 0 / 437 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004572/0.3739, allocations: 331 kB / 437.3 MB, free: 3.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008452/0.3748, allocations: 185.3 kB / 437.5 MB, free: 3.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003144/0.3779, allocations: 2.254 MB / 439.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008382/0.3788, allocations: 1.348 MB / 441.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004177/0.3792, allocations: 209.8 kB / 441.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.3794, allocations: 51.44 kB / 441.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of SimCode: time 4.9e-07/0.3794, allocations: 0 / 441.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of Templates: time 0.01657/0.396, allocations: 10.17 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