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.001067/0.001067, allocations: 111 kB / 17.75 MB, free: 5.336 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.001103/0.001103, allocations: 190.4 kB / 18.67 MB, free: 4.422 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.366/1.366, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 43.94 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2286, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004826/0.2335, allocations: 3.783 MB / 405.2 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001831/0.2354, allocations: 0.9931 MB / 406.2 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003682/0.2357, allocations: 23.94 kB / 406.2 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003681/0.2361, allocations: 154.8 kB / 406.4 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008951/0.237, allocations: 298.4 kB / 406.6 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000277/0.2373, allocations: 123.8 kB / 406.8 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001372/0.2387, allocations: 1.409 MB / 408.2 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001321/0.24, allocations: 1.221 MB / 409.4 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007122/0.2408, allocations: 0.6386 MB / 410 MB, free: 184 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.2419, allocations: 0.7707 MB / 410.8 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002704/0.2421, allocations: 160 kB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003151/0.2425, allocations: 160 kB / 411.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004198/0.2429, allocations: 470.7 kB / 411.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008854/0.2438, allocations: 0.735 MB / 412.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001678/0.2455, allocations: 2.073 MB / 414.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2455, allocations: 0 / 414.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2455, allocations: 0 / 414.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.74e-05/0.2455, allocations: 0 / 414.4 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.003186/0.2487, allocations: 1.683 MB / 416.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2488, allocations: 8.031 kB / 416.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002505/0.249, allocations: 139.3 kB / 416.2 MB, free: 9.934 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.2505, allocations: 0.889 MB / 417.1 MB, free: 9.004 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.858e-05/0.2505, allocations: 94.31 kB / 417.2 MB, free: 8.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.2507, allocations: 115.9 kB / 417.3 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002341/0.2531, allocations: 1.568 MB / 418.9 MB, free: 7.184 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.2531, allocations: 0 / 418.9 MB, free: 7.184 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.2532, allocations: 48 kB / 418.9 MB, free: 7.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.2532, allocations: 28 kB / 419 MB, free: 7.109 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.2552, allocations: 1.336 MB / 420.3 MB, free: 5.766 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006126/0.2613, allocations: 4.267 MB / 424.6 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.2625, allocations: 1.337 MB / 425.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008434/0.2633, allocations: 0.53 MB / 426.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.2634, allocations: 4.438 kB / 426.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.2634, allocations: 42.98 kB / 426.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 1.773e-06/0.2634, allocations: 0 / 426.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.001331/0.2648, allocations: 0.8651 MB / 427.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.2648, allocations: 63.84 kB / 427.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009116/0.2657, allocations: 0.8204 MB / 428.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.2658, allocations: 37.64 kB / 428.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003461/0.2661, allocations: 0.5454 MB / 428.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.2662, allocations: 181.4 kB / 429 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.2664, allocations: 102.2 kB / 429.1 MB, free: 12.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.2666, allocations: 390.7 kB / 429.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004436/0.267, allocations: 304.9 kB / 429.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004964/0.2675, allocations: 390.5 kB / 430.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009172/0.2684, allocations: 0.6942 MB / 430.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2685, allocations: 0 / 430.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001146/0.2696, allocations: 0.818 MB / 431.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.2696, allocations: 8.281 kB / 431.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.2697, allocations: 7.984 kB / 431.7 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.2697, allocations: 4 kB / 431.7 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005766/0.2703, allocations: 147.8 kB / 431.8 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.2703, allocations: 7.984 kB / 431.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003601/0.2706, allocations: 75.34 kB / 431.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/0.2707, allocations: 23.94 kB / 431.9 MB, free: 9.684 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.0004841/0.2712, allocations: 457.5 kB / 432.4 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.2713, allocations: 75.16 kB / 432.4 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/0.2715, allocations: 91.06 kB / 432.5 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2715, allocations: 4 kB / 432.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2715, allocations: 0 / 432.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.2717, allocations: 172 kB / 432.7 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.267e-05/0.2718, allocations: 12 kB / 432.7 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004039/0.2722, allocations: 51.94 kB / 432.8 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.215e-05/0.2723, allocations: 32.39 kB / 432.8 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001285/0.2736, allocations: 0.7649 MB / 433.6 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001479/0.2751, allocations: 1.211 MB / 434.8 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004298/0.2755, allocations: 307.3 kB / 435.1 MB, free: 6.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006568/0.2762, allocations: 0.5927 MB / 435.7 MB, free: 5.879 MB / 350.1 MB Notification: Performance of Backend: time 7.52e-07/0.2762, allocations: 0 / 435.7 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000955/0.2772, allocations: 493.3 kB / 436.1 MB, free: 5.395 MB / 350.1 MB Notification: Performance of SimCode: time 0.003083/0.2803, allocations: 2.557 MB / 438.7 MB, free: 2.785 MB / 350.1 MB Notification: Performance of Templates: time 0.01668/0.2969, allocations: 11.13 MB / 449.8 MB, free: 7.781 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/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