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.001495/0.001495, allocations: 106.8 kB / 17.32 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001754/0.001754, allocations: 205.8 kB / 18.26 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 246.4 MB, free: 9.094 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 67.62 kB / 306.4 MB, free: 0.7266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08311/0.0843, allocations: 50.54 MB / 357 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004925/0.08926, allocations: 3.817 MB / 360.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.09168, allocations: 1.063 MB / 361.9 MB, free: 9.281 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002378/0.09196, allocations: 19.94 kB / 361.9 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003615/0.09233, allocations: 123.2 kB / 362 MB, free: 9.141 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009248/0.09326, allocations: 282.7 kB / 362.3 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.09356, allocations: 107.9 kB / 362.4 MB, free: 8.758 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001438/0.09501, allocations: 1.416 MB / 363.8 MB, free: 7.336 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/0.09632, allocations: 1.225 MB / 365 MB, free: 6.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009699/0.0973, allocations: 0.6464 MB / 365.7 MB, free: 5.422 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000944/0.09826, allocations: 0.794 MB / 366.5 MB, free: 4.625 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002066/0.09848, allocations: 164 kB / 366.6 MB, free: 4.465 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002536/0.09874, allocations: 160 kB / 366.8 MB, free: 4.309 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003996/0.09915, allocations: 470.7 kB / 367.2 MB, free: 3.848 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006983/0.09985, allocations: 0.7467 MB / 368 MB, free: 3.098 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002174/0.102, allocations: 2.053 MB / 370 MB, free: 1.039 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.102, allocations: 0 / 370 MB, free: 1.039 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1021, allocations: 0 / 370 MB, free: 1.039 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.163e-05/0.1021, allocations: 0 / 370 MB, free: 1.039 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.1644/0.2665, allocations: 1.702 MB / 371.7 MB, free: 19.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.2665, allocations: 12.22 kB / 371.7 MB, free: 19.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005093/0.267, allocations: 174.2 kB / 371.9 MB, free: 19.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.2683, allocations: 0.8785 MB / 372.8 MB, free: 18.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.265e-05/0.2684, allocations: 86.73 kB / 372.9 MB, free: 18.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.2685, allocations: 109.7 kB / 373 MB, free: 18.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002538/0.2711, allocations: 1.571 MB / 374.6 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.2711, allocations: 0 / 374.6 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.874e-05/0.2712, allocations: 51.94 kB / 374.6 MB, free: 18.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.729e-05/0.2713, allocations: 27.31 kB / 374.6 MB, free: 18.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002/0.2733, allocations: 1.336 MB / 376 MB, free: 17.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0061/0.2794, allocations: 4.312 MB / 380.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009456/0.2804, allocations: 1.325 MB / 381.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008142/0.2812, allocations: 0.527 MB / 382.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.436e-05/0.2812, allocations: 6.031 kB / 382.1 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.2813, allocations: 44.89 kB / 382.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.895e-06/0.2813, allocations: 0 / 382.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.00142/0.2827, allocations: 0.8746 MB / 383.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.2827, allocations: 57.19 kB / 383.1 MB, free: 14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.2838, allocations: 0.8323 MB / 383.9 MB, free: 13.67 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.2838, allocations: 32.23 kB / 384 MB, free: 13.64 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/0.2841, allocations: 0.5546 MB / 384.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.2843, allocations: 171.4 kB / 384.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.2844, allocations: 102.6 kB / 384.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.2845, allocations: 388.1 kB / 385.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004543/0.285, allocations: 298.5 kB / 385.5 MB, free: 12.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00048/0.2855, allocations: 402.4 kB / 385.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008862/0.2864, allocations: 0.688 MB / 386.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.2864, allocations: 1.281 kB / 386.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001175/0.2876, allocations: 0.8227 MB / 387.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.2876, allocations: 6.219 kB / 387.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.2876, allocations: 2.625 kB / 387.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.2877, allocations: 5.5 kB / 387.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005965/0.2883, allocations: 151.2 kB / 387.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.2883, allocations: 4.156 kB / 387.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003846/0.2887, allocations: 62.53 kB / 387.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.2887, allocations: 25.83 kB / 387.6 MB, free: 11.61 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.000509/0.2892, allocations: 468 kB / 388.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.2893, allocations: 77.47 kB / 388.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.2895, allocations: 92.12 kB / 388.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.2895, allocations: 5.656 kB / 388.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.2895, allocations: 7.984 kB / 388.3 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2895, allocations: 3.938 kB / 388.3 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002629/0.2922, allocations: 1.966 MB / 390.2 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.2922, allocations: 1.312 kB / 390.2 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005169/0.2927, allocations: 121.8 kB / 390.3 MB, free: 9.883 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-06/0.2927, allocations: 3.5 kB / 390.4 MB, free: 9.883 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/0.2928, allocations: 12.67 kB / 390.4 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.2928, allocations: 3.281 kB / 390.4 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.2928, allocations: 2.219 kB / 390.4 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.2943, allocations: 1.129 MB / 391.5 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.2945, allocations: 169.2 kB / 391.7 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.674e-05/0.2946, allocations: 13.5 kB / 391.7 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003866/0.295, allocations: 50.08 kB / 391.7 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.671e-05/0.2951, allocations: 38.25 kB / 391.8 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.2952, allocations: 16.38 kB / 391.8 MB, free: 8.988 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006241/0.2958, allocations: 0.5939 MB / 392.4 MB, free: 8.656 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2958, allocations: 4 kB / 392.4 MB, free: 8.652 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007502/0.2966, allocations: 288.2 kB / 392.7 MB, free: 8.57 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.000131/0.2967, allocations: 124.2 kB / 392.8 MB, free: 8.461 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.2979, allocations: 0.7862 MB / 393.6 MB, free: 8.152 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.298, allocations: 5.25 kB / 393.6 MB, free: 8.148 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000426/0.2984, allocations: 323.5 kB / 393.9 MB, free: 8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008717/0.2993, allocations: 175 kB / 394.1 MB, free: 7.922 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003146/0.3024, allocations: 2.793 MB / 396.9 MB, free: 5.957 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005668/0.303, allocations: 1.336 MB / 398.2 MB, free: 4.59 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004309/0.3035, allocations: 217.7 kB / 398.4 MB, free: 4.375 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.3036, allocations: 59.38 kB / 398.5 MB, free: 4.316 MB / 302.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3036, allocations: 0 / 398.5 MB, free: 4.316 MB / 302.1 MB Notification: Performance of Templates: time 0.01578/0.3194, allocations: 9.912 MB / 408.4 MB, free: 10.55 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches