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.001655/0.001655, allocations: 116.3 kB / 17.98 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002044/0.002044, allocations: 201.8 kB / 18.92 MB, free: 4.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 247.1 MB, free: 9.086 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 58.78 kB / 307.1 MB, free: 0.6992 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09085/0.09205, allocations: 50.53 MB / 357.6 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005009/0.09712, allocations: 3.821 MB / 361.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.09905, allocations: 1.059 MB / 362.5 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/0.09932, allocations: 19.94 kB / 362.5 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.09968, allocations: 131.2 kB / 362.7 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007516/0.1004, allocations: 274.7 kB / 362.9 MB, free: 8.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.1007, allocations: 115.9 kB / 363 MB, free: 8.727 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001289/0.102, allocations: 1.416 MB / 364.5 MB, free: 7.305 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.1032, allocations: 1.221 MB / 365.7 MB, free: 6.043 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007991/0.1041, allocations: 0.6425 MB / 366.3 MB, free: 5.398 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009105/0.105, allocations: 0.7979 MB / 367.1 MB, free: 4.598 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001902/0.1052, allocations: 160 kB / 367.3 MB, free: 4.441 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002628/0.1054, allocations: 172 kB / 367.4 MB, free: 4.273 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003686/0.1058, allocations: 466.7 kB / 367.9 MB, free: 3.816 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006909/0.1065, allocations: 0.7389 MB / 368.6 MB, free: 3.074 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.1079, allocations: 1.707 MB / 370.3 MB, free: 1.363 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.108, allocations: 4 kB / 370.4 MB, free: 1.359 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.108, allocations: 4 kB / 370.4 MB, free: 1.355 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.246e-05/0.108, allocations: 0 / 370.4 MB, free: 1.355 MB / 302.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.1543/0.2623, allocations: 1.691 MB / 372 MB, free: 19.28 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.2624, allocations: 10.16 kB / 372.1 MB, free: 19.28 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005964/0.263, allocations: 172 kB / 372.2 MB, free: 19.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.2642, allocations: 0.8731 MB / 373.1 MB, free: 18.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.894e-05/0.2643, allocations: 86.86 kB / 373.2 MB, free: 18.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.2645, allocations: 113.7 kB / 373.3 MB, free: 18.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002529/0.267, allocations: 1.573 MB / 374.9 MB, free: 18.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.2671, allocations: 1 kB / 374.9 MB, free: 18.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.937e-05/0.2672, allocations: 49.31 kB / 374.9 MB, free: 18.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.518e-05/0.2672, allocations: 28.22 kB / 374.9 MB, free: 18.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002065/0.2693, allocations: 1.336 MB / 376.3 MB, free: 17.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006204/0.2755, allocations: 4.32 MB / 380.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009878/0.2765, allocations: 1.32 MB / 381.9 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008071/0.2773, allocations: 0.5333 MB / 382.5 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.485e-05/0.2774, allocations: 6.062 kB / 382.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.2774, allocations: 41.33 kB / 382.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.765e-06/0.2774, allocations: 1.156 kB / 382.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.001481/0.2789, allocations: 0.8783 MB / 383.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.2789, allocations: 57.44 kB / 383.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.28, allocations: 0.8315 MB / 384.3 MB, free: 13.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.409e-05/0.2801, allocations: 32.05 kB / 384.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004131/0.2805, allocations: 0.5479 MB / 384.8 MB, free: 13.13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.2807, allocations: 175 kB / 385 MB, free: 13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/0.2809, allocations: 103.1 kB / 385.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.281, allocations: 391.2 kB / 385.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005117/0.2815, allocations: 300.2 kB / 385.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005556/0.2821, allocations: 398.1 kB / 386.2 MB, free: 12.31 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009632/0.2831, allocations: 0.6921 MB / 386.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.2831, allocations: 1.5 kB / 386.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001227/0.2843, allocations: 0.8213 MB / 387.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.2843, allocations: 8.562 kB / 387.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.2844, allocations: 6.156 kB / 387.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.2844, allocations: 4.875 kB / 387.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005774/0.285, allocations: 147.7 kB / 387.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.285, allocations: 4.906 kB / 387.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003746/0.2854, allocations: 66.84 kB / 387.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.2854, allocations: 26.25 kB / 388 MB, free: 11.56 MB / 302.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.0005231/0.2859, allocations: 464.8 kB / 388.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.2861, allocations: 73.06 kB / 388.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001465/0.2862, allocations: 90.11 kB / 388.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.2862, allocations: 7.75 kB / 388.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.2862, allocations: 1.188 kB / 388.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2862, allocations: 5.203 kB / 388.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002596/0.2889, allocations: 1.962 MB / 390.5 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.2889, allocations: 2.281 kB / 390.5 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000469/0.2893, allocations: 120.8 kB / 390.7 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.2894, allocations: 3.5 kB / 390.7 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/0.2894, allocations: 16.59 kB / 390.7 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.2894, allocations: 3.219 kB / 390.7 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.2894, allocations: 2.281 kB / 390.7 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.2907, allocations: 1.128 MB / 391.8 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.2909, allocations: 166.3 kB / 392 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.11e-05/0.291, allocations: 16.61 kB / 392 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000387/0.2914, allocations: 50.98 kB / 392 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.789e-05/0.2915, allocations: 34.48 kB / 392.1 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.129e-05/0.2915, allocations: 19.03 kB / 392.1 MB, free: 8.949 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006501/0.2922, allocations: 0.5982 MB / 392.7 MB, free: 8.613 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2922, allocations: 0 / 392.7 MB, free: 8.613 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007271/0.2929, allocations: 284.6 kB / 393 MB, free: 8.535 MB / 302.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.0001284/0.2931, allocations: 126 kB / 393.1 MB, free: 8.426 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.2943, allocations: 0.7876 MB / 393.9 MB, free: 8.117 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.2943, allocations: 0.8125 kB / 393.9 MB, free: 8.117 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004004/0.2947, allocations: 327.1 kB / 394.2 MB, free: 7.965 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008718/0.2956, allocations: 180.8 kB / 394.4 MB, free: 7.879 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.2988, allocations: 2.79 MB / 397.2 MB, free: 5.996 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005725/0.2994, allocations: 1.32 MB / 398.5 MB, free: 4.645 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.2996, allocations: 55.44 kB / 398.5 MB, free: 4.59 MB / 302.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2996, allocations: 3.938 kB / 398.6 MB, free: 4.586 MB / 302.1 MB Notification: Performance of Templates: time 0.0172/0.3168, allocations: 13.38 MB / 411.9 MB, free: 7.266 MB / 318.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