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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.00187/0.00187, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009935/0.0009936, allocations: 93.45 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 47.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2157, allocations: 50.46 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.003621/0.2194, allocations: 3.802 MB / 410.8 MB, free: 24 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.2207, allocations: 1.052 MB / 411.9 MB, free: 22.94 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001963/0.2209, allocations: 27.81 kB / 411.9 MB, free: 22.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002607/0.2212, allocations: 123.2 kB / 412 MB, free: 22.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000565/0.2217, allocations: 278.7 kB / 412.3 MB, free: 22.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000164/0.2219, allocations: 103.9 kB / 412.4 MB, free: 22.42 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009226/0.2229, allocations: 1.67 MB / 414.1 MB, free: 20.74 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008069/0.2237, allocations: 1.035 MB / 415.1 MB, free: 19.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004087/0.2241, allocations: 0.5449 MB / 415.7 MB, free: 19.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005845/0.2247, allocations: 0.7509 MB / 416.4 MB, free: 18.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.2248, allocations: 108 kB / 416.5 MB, free: 18.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002078/0.2251, allocations: 112 kB / 416.6 MB, free: 18.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002259/0.2253, allocations: 402.8 kB / 417 MB, free: 17.76 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004312/0.2257, allocations: 0.6763 MB / 417.7 MB, free: 17.08 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009832/0.2267, allocations: 1.995 MB / 419.7 MB, free: 15.08 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2267, allocations: 3.938 kB / 419.7 MB, free: 15.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.2267, allocations: 0 / 419.7 MB, free: 15.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.2268, allocations: 0 / 419.7 MB, free: 15.08 MB / 298.7 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.002334/0.2291, allocations: 1.684 MB / 421.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.2291, allocations: 8.031 kB / 421.4 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000418/0.2296, allocations: 175.2 kB / 421.6 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.2307, allocations: 0.8616 MB / 422.4 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.254e-05/0.2307, allocations: 82.62 kB / 422.5 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.2309, allocations: 115.9 kB / 422.6 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001954/0.2328, allocations: 1.572 MB / 424.2 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.2329, allocations: 4 kB / 424.2 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.652e-05/0.233, allocations: 44 kB / 424.2 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.233, allocations: 28 kB / 424.3 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/0.2346, allocations: 1.336 MB / 425.6 MB, free: 9.023 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005189/0.2398, allocations: 4.314 MB / 429.9 MB, free: 4.578 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007921/0.2406, allocations: 1.325 MB / 431.2 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000709/0.2414, allocations: 0.5261 MB / 431.8 MB, free: 2.547 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.2414, allocations: 12.44 kB / 431.8 MB, free: 2.535 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.2414, allocations: 38.98 kB / 431.8 MB, free: 2.488 MB / 298.7 MB Notification: Performance of pre-optimization done (n=51): time 2.685e-06/0.2414, allocations: 4 kB / 431.8 MB, free: 2.484 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.001131/0.2426, allocations: 0.8651 MB / 432.7 MB, free: 1.617 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.2426, allocations: 59.83 kB / 432.7 MB, free: 1.547 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007379/0.2434, allocations: 0.8166 MB / 433.6 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.2434, allocations: 41.7 kB / 433.6 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.2436, allocations: 0.5453 MB / 434.2 MB, free: 124 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.2437, allocations: 181.4 kB / 434.3 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.2439, allocations: 98.25 kB / 434.4 MB, free: 15.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.244, allocations: 386.7 kB / 434.8 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00043/0.2445, allocations: 304.9 kB / 435.1 MB, free: 15.15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004988/0.245, allocations: 394.5 kB / 435.5 MB, free: 14.74 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008806/0.2459, allocations: 0.6902 MB / 436.2 MB, free: 14.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.2459, allocations: 7.938 kB / 436.2 MB, free: 14.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001109/0.247, allocations: 0.8219 MB / 437 MB, free: 13.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.247, allocations: 10.64 kB / 437 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.247, allocations: 4 kB / 437 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.2471, allocations: 4.281 kB / 437 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005631/0.2476, allocations: 147.8 kB / 437.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.2477, allocations: 7.984 kB / 437.2 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003409/0.248, allocations: 59.45 kB / 437.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.2481, allocations: 16 kB / 437.3 MB, free: 12.93 MB / 314.7 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.0004717/0.2485, allocations: 463 kB / 437.7 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.2486, allocations: 71.16 kB / 437.8 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.2488, allocations: 95.08 kB / 437.9 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.2489, allocations: 7.984 kB / 437.9 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.2489, allocations: 0 / 437.9 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.2489, allocations: 3.938 kB / 437.9 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002705/0.2516, allocations: 1.958 MB / 439.8 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.381e-06/0.2516, allocations: 7.984 kB / 439.8 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000481/0.2521, allocations: 111.9 kB / 440 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.321e-06/0.2521, allocations: 7.938 kB / 440 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.219e-05/0.2522, allocations: 12 kB / 440 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.2522, allocations: 7.984 kB / 440 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2522, allocations: 0 / 440 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005716/0.2579, allocations: 4.526 MB / 444.5 MB, free: 5.426 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.2581, allocations: 176.1 kB / 444.7 MB, free: 5.234 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.195e-05/0.2582, allocations: 12 kB / 444.7 MB, free: 5.223 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003885/0.2586, allocations: 51.95 kB / 444.7 MB, free: 5.172 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-05/0.2587, allocations: 36.38 kB / 444.8 MB, free: 5.133 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.2587, allocations: 16 kB / 444.8 MB, free: 5.117 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000664/0.2594, allocations: 0.5888 MB / 445.4 MB, free: 4.535 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2594, allocations: 4 kB / 445.4 MB, free: 4.531 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008107/0.2602, allocations: 354.7 kB / 445.7 MB, free: 4.184 MB / 314.7 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.0001345/0.2604, allocations: 122.1 kB / 445.8 MB, free: 4.059 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009545/0.2613, allocations: 0.6422 MB / 446.5 MB, free: 3.418 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.2613, allocations: 8.188 kB / 446.5 MB, free: 3.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004103/0.2618, allocations: 326.2 kB / 446.8 MB, free: 3.094 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008341/0.2626, allocations: 167.2 kB / 447 MB, free: 2.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003878/0.2665, allocations: 3.135 MB / 450.1 MB, free: 15.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008348/0.2673, allocations: 1.359 MB / 451.5 MB, free: 14.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005338/0.2679, allocations: 221.8 kB / 451.7 MB, free: 14.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.2681, allocations: 59.42 kB / 451.7 MB, free: 14.07 MB / 330.7 MB Notification: Performance of SimCode: time 4.51e-07/0.2681, allocations: 3.938 kB / 451.8 MB, free: 14.06 MB / 330.7 MB Notification: Performance of Templates: time 0.0158/0.2839, allocations: 10.39 MB / 462.1 MB, free: 3.785 MB / 330.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches