Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 111.8 kB / 17.74 MB, free: 5.34 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.001737/0.001737, allocations: 193.6 kB / 18.68 MB, free: 4.41 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.368/1.368, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 47.92 kB / 352 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3295, allocations: 49.43 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.004831/0.3343, allocations: 3.778 MB / 405.2 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.3362, allocations: 0.9386 MB / 406.1 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002075/0.3364, allocations: 23.94 kB / 406.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002994/0.3367, allocations: 142.8 kB / 406.3 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006513/0.3374, allocations: 278.5 kB / 406.6 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.3376, allocations: 127.8 kB / 406.7 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001218/0.3388, allocations: 1.393 MB / 408.1 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.3401, allocations: 1.178 MB / 409.2 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007191/0.3408, allocations: 0.627 MB / 409.9 MB, free: 360 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009551/0.3418, allocations: 0.7589 MB / 410.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001936/0.342, allocations: 156 kB / 410.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.3422, allocations: 160 kB / 410.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003698/0.3426, allocations: 454.8 kB / 411.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000665/0.3433, allocations: 0.7272 MB / 412.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001821/0.3451, allocations: 2.042 MB / 414.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3451, allocations: 0 / 414.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3451, allocations: 0 / 414.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.95e-05/0.3452, allocations: 0 / 414.2 MB, free: 12.06 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002887/0.3481, allocations: 1.664 MB / 415.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3481, allocations: 8.031 kB / 415.8 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000218/0.3483, allocations: 139.2 kB / 416 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.3495, allocations: 0.8773 MB / 416.8 MB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.899e-05/0.3496, allocations: 86.34 kB / 416.9 MB, free: 9.191 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.3497, allocations: 112 kB / 417 MB, free: 9.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/0.352, allocations: 1.544 MB / 418.6 MB, free: 7.492 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.3521, allocations: 0 / 418.6 MB, free: 7.492 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.3522, allocations: 51.94 kB / 418.6 MB, free: 7.441 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.3522, allocations: 24 kB / 418.7 MB, free: 7.418 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002013/0.3542, allocations: 1.32 MB / 420 MB, free: 6.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005774/0.36, allocations: 4.162 MB / 424.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.3613, allocations: 1.323 MB / 425.5 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006626/0.3619, allocations: 463.3 kB / 425.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.362, allocations: 8.438 kB / 425.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.362, allocations: 35 kB / 426 MB, free: 15.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 2.414e-06/0.362, allocations: 0 / 426 MB, free: 15.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.00309/0.3651, allocations: 1.942 MB / 427.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.3652, allocations: 63.84 kB / 428 MB, free: 13.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009524/0.3661, allocations: 0.8204 MB / 428.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.3662, allocations: 29.7 kB / 428.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003451/0.3665, allocations: 0.5453 MB / 429.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.3667, allocations: 173.5 kB / 429.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.3668, allocations: 102.2 kB / 429.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.367, allocations: 382.8 kB / 430 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004511/0.3674, allocations: 308.9 kB / 430.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005046/0.368, allocations: 403.4 kB / 430.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009435/0.3689, allocations: 0.695 MB / 431.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.758e-06/0.3689, allocations: 0 / 431.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001369/0.3703, allocations: 0.9204 MB / 432.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.3703, allocations: 4 kB / 432.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3703, allocations: 4 kB / 432.3 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002711/0.3706, allocations: 108.7 kB / 432.4 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000494/0.3711, allocations: 128 kB / 432.5 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002219/0.3734, allocations: 2.372 MB / 434.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/0.3737, allocations: 31.91 kB / 434.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/0.3738, allocations: 16 kB / 435 MB, free: 6.438 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006472/0.3744, allocations: 469.4 kB / 435.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.3746, allocations: 71.16 kB / 435.5 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/0.3747, allocations: 87.08 kB / 435.6 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.3747, allocations: 11.94 kB / 435.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.3748, allocations: 0 / 435.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.3748, allocations: 7.922 kB / 435.6 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002866/0.3776, allocations: 2.009 MB / 437.6 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3777, allocations: 0 / 437.6 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.378, allocations: 91.88 kB / 437.7 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002344/0.3783, allocations: 104.7 kB / 437.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.3783, allocations: 8 kB / 437.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002067/0.3804, allocations: 2.326 MB / 440.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/0.3804, allocations: 8.109 kB / 440.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.3821, allocations: 1.196 MB / 441.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.3823, allocations: 160.3 kB / 441.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.3824, allocations: 19.98 kB / 441.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004072/0.3828, allocations: 48.3 kB / 441.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.3829, allocations: 44.27 kB / 441.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/0.3829, allocations: 19.98 kB / 441.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007656/0.3837, allocations: 0.5887 MB / 442.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3837, allocations: 0 / 442.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007406/0.3845, allocations: 208 kB / 442.4 MB, free: 14.7 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001631/0.3846, allocations: 123.1 kB / 442.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001347/0.386, allocations: 0.8168 MB / 443.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.386, allocations: 4 kB / 443.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007798/0.3868, allocations: 492.7 kB / 443.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008942/0.3877, allocations: 175.3 kB / 444 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003486/0.3912, allocations: 2.189 MB / 446.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009421/0.3922, allocations: 1.313 MB / 447.5 MB, free: 9.492 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.3924, allocations: 51.44 kB / 447.6 MB, free: 9.441 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3924, allocations: 0 / 447.6 MB, free: 9.441 MB / 366.1 MB Notification: Performance of Templates: time 0.02521/0.4176, allocations: 18.85 MB / 466.4 MB, free: 6.641 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches