Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001082/0.001082, allocations: 107.1 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001213, allocations: 203.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 247.6 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 59.91 kB / 359.4 MB, free: 13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2338, allocations: 50.55 MB / 409.9 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005608/0.2394, allocations: 3.789 MB / 413.7 MB, free: 14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002181/0.2416, allocations: 1.071 MB / 414.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005254/0.2422, allocations: 27.88 kB / 414.8 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004829/0.2427, allocations: 146.8 kB / 415 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.2438, allocations: 298.4 kB / 415.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.2442, allocations: 135.8 kB / 415.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001439/0.2456, allocations: 1.408 MB / 416.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.2471, allocations: 1.237 MB / 418 MB, free: 9.637 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009052/0.248, allocations: 0.6464 MB / 418.7 MB, free: 8.988 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.2492, allocations: 0.7745 MB / 419.5 MB, free: 8.211 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003097/0.2495, allocations: 168 kB / 419.6 MB, free: 8.047 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003876/0.2499, allocations: 160 kB / 419.8 MB, free: 7.891 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004514/0.2503, allocations: 470.7 kB / 420.2 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008498/0.2512, allocations: 0.7428 MB / 421 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.2529, allocations: 2.081 MB / 423.1 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2529, allocations: 0 / 423.1 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2529, allocations: 0 / 423.1 MB, free: 4.598 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.216e-05/0.253, allocations: 3.938 kB / 423.1 MB, free: 4.594 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.002813/0.2558, allocations: 1.687 MB / 424.8 MB, free: 2.852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.2558, allocations: 12.03 kB / 424.8 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000473/0.2563, allocations: 171.2 kB / 424.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.2579, allocations: 0.9123 MB / 425.8 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.536e-05/0.258, allocations: 86.38 kB / 425.9 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/0.2581, allocations: 112 kB / 426 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002245/0.2604, allocations: 1.576 MB / 427.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.2604, allocations: 0 / 427.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.2605, allocations: 44 kB / 427.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.2605, allocations: 28 kB / 427.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002035/0.2626, allocations: 1.332 MB / 429 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006292/0.2689, allocations: 4.271 MB / 433.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.2701, allocations: 1.327 MB / 434.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008561/0.2709, allocations: 0.5218 MB / 435.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/0.271, allocations: 12.42 kB / 435.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.271, allocations: 43 kB / 435.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 1.833e-06/0.271, allocations: 3.938 kB / 435.2 MB, free: 7.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.001362/0.2724, allocations: 0.8767 MB / 436.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.2724, allocations: 59.84 kB / 436.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009556/0.2734, allocations: 0.8205 MB / 436.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.2734, allocations: 37.7 kB / 437 MB, free: 6.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003573/0.2738, allocations: 0.5492 MB / 437.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.2739, allocations: 177.5 kB / 437.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.2741, allocations: 106.2 kB / 437.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.2743, allocations: 390.7 kB / 438.2 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004832/0.2748, allocations: 296.9 kB / 438.5 MB, free: 4.633 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004949/0.2753, allocations: 398.5 kB / 438.9 MB, free: 4.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009129/0.2762, allocations: 0.6863 MB / 439.6 MB, free: 3.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2762, allocations: 4 kB / 439.6 MB, free: 3.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00115/0.2774, allocations: 0.8258 MB / 440.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.2774, allocations: 8 kB / 440.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2774, allocations: 0 / 440.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.2774, allocations: 8 kB / 440.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005776/0.278, allocations: 148.1 kB / 440.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.278, allocations: 8 kB / 440.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.2784, allocations: 55.45 kB / 440.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.2784, allocations: 23.98 kB / 440.6 MB, free: 2.41 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.0004992/0.2789, allocations: 457.5 kB / 441.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.279, allocations: 71.16 kB / 441.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001525/0.2792, allocations: 99.06 kB / 441.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.2792, allocations: 7.922 kB / 441.3 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.2792, allocations: 4 kB / 441.3 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001902/0.2794, allocations: 176 kB / 441.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.486e-05/0.2795, allocations: 12 kB / 441.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003869/0.2799, allocations: 47.94 kB / 441.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.475e-05/0.28, allocations: 32.39 kB / 441.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001265/0.2813, allocations: 0.7689 MB / 442.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001487/0.2828, allocations: 1.207 MB / 443.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005619/0.2833, allocations: 307.3 kB / 443.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006633/0.284, allocations: 0.6005 MB / 444.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of Backend: time 2.354e-06/0.284, allocations: 0 / 444.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00135/0.2854, allocations: 0.4938 MB / 444.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of SimCode: time 0.004667/0.2901, allocations: 2.564 MB / 447.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of Templates: time 0.02621/0.3163, allocations: 11.18 MB / 458.6 MB, free: 416 kB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches