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.00108/0.00108, allocations: 109.8 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001219/0.00122, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2298, allocations: 50.54 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004378/0.2342, allocations: 3.789 MB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.2359, allocations: 1.067 MB / 414.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002013/0.2361, allocations: 27.81 kB / 414.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.2364, allocations: 146.8 kB / 414.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000671/0.2371, allocations: 298.4 kB / 415.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.2373, allocations: 139.8 kB / 415.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001174/0.2385, allocations: 1.416 MB / 416.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.2396, allocations: 1.221 MB / 418 MB, free: 9.434 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006416/0.2403, allocations: 0.6503 MB / 418.7 MB, free: 8.781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008308/0.2411, allocations: 0.7784 MB / 419.4 MB, free: 8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001737/0.2413, allocations: 160 kB / 419.6 MB, free: 7.844 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002364/0.2416, allocations: 164 kB / 419.8 MB, free: 7.684 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003463/0.2419, allocations: 474.7 kB / 420.2 MB, free: 7.219 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006061/0.2425, allocations: 0.7389 MB / 421 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.244, allocations: 2.073 MB / 423 MB, free: 4.402 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.244, allocations: 0 / 423 MB, free: 4.402 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.244, allocations: 0 / 423 MB, free: 4.402 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.244, allocations: 3.938 kB / 423 MB, free: 4.398 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.002623/0.2467, allocations: 1.699 MB / 424.7 MB, free: 2.645 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.2467, allocations: 12.03 kB / 424.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000432/0.2471, allocations: 167.2 kB / 424.9 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.2485, allocations: 0.9046 MB / 425.8 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.601e-05/0.2486, allocations: 86.38 kB / 425.9 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.2488, allocations: 116 kB / 426 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00213/0.2509, allocations: 1.576 MB / 427.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.2509, allocations: 0 / 427.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.395e-05/0.251, allocations: 44 kB / 427.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.2511, allocations: 28 kB / 427.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001881/0.253, allocations: 1.336 MB / 429 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005867/0.2588, allocations: 4.267 MB / 433.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.2599, allocations: 1.334 MB / 434.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008181/0.2607, allocations: 0.5295 MB / 435.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.2608, allocations: 8.438 kB / 435.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.2608, allocations: 39 kB / 435.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 1.763e-06/0.2608, allocations: 3.938 kB / 435.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.001293/0.2621, allocations: 0.8728 MB / 436 MB, free: 6.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.2622, allocations: 63.84 kB / 436.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008766/0.263, allocations: 0.8322 MB / 436.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/0.2631, allocations: 33.7 kB / 437 MB, free: 5.945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000316/0.2634, allocations: 0.5492 MB / 437.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.2635, allocations: 173.5 kB / 437.7 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.2637, allocations: 102.2 kB / 437.8 MB, free: 5.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.2638, allocations: 390.8 kB / 438.2 MB, free: 4.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004279/0.2643, allocations: 296.9 kB / 438.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004804/0.2648, allocations: 402.5 kB / 438.9 MB, free: 4.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008862/0.2657, allocations: 0.6864 MB / 439.5 MB, free: 3.285 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2657, allocations: 4 kB / 439.6 MB, free: 3.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001115/0.2668, allocations: 0.818 MB / 440.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.2668, allocations: 8 kB / 440.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2668, allocations: 288 / 440.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.2668, allocations: 12 kB / 440.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005576/0.2674, allocations: 151.8 kB / 440.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.2674, allocations: 4 kB / 440.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/0.2678, allocations: 67.38 kB / 440.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.2678, allocations: 16 kB / 440.6 MB, free: 2.199 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.0004773/0.2683, allocations: 457.5 kB / 441.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.848e-05/0.2684, allocations: 75.16 kB / 441.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.2685, allocations: 91.08 kB / 441.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.2686, allocations: 11.88 kB / 441.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2686, allocations: 0 / 441.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.2686, allocations: 11.92 kB / 441.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002702/0.2713, allocations: 1.938 MB / 443.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.2713, allocations: 8 kB / 443.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004789/0.2718, allocations: 124 kB / 443.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.2718, allocations: 4 kB / 443.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/0.2719, allocations: 12 kB / 443.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.2719, allocations: 7.938 kB / 443.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.2719, allocations: 3.984 kB / 443.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.2732, allocations: 1.126 MB / 444.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000196/0.2734, allocations: 176.2 kB / 444.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.724e-05/0.2735, allocations: 8 kB / 444.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.2739, allocations: 55.94 kB / 444.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.601e-05/0.274, allocations: 36.33 kB / 444.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/0.274, allocations: 16 kB / 444.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000633/0.2747, allocations: 0.5966 MB / 445.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2747, allocations: 0 / 445.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005969/0.2753, allocations: 282.8 kB / 445.6 MB, free: 13.05 MB / 366.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.0001291/0.2754, allocations: 122.1 kB / 445.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009019/0.2763, allocations: 0.6458 MB / 446.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2764, allocations: 0 / 446.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004326/0.2768, allocations: 327.1 kB / 446.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008219/0.2776, allocations: 174.9 kB / 446.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002945/0.2806, allocations: 2.287 MB / 449.2 MB, free: 9.457 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007593/0.2813, allocations: 1.32 MB / 450.5 MB, free: 8.102 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.2815, allocations: 51.44 kB / 450.5 MB, free: 8.051 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2815, allocations: 4 kB / 450.5 MB, free: 8.047 MB / 366.1 MB Notification: Performance of Templates: time 0.1347/0.4162, allocations: 13.61 MB / 464.2 MB, free: 10.49 MB / 382.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