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.001821/0.00182, allocations: 115.8 kB / 18.4 MB, free: 4.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 203.4 kB / 19.35 MB, free: 3.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001223, allocations: 60.41 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08633/0.08757, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004799/0.0924, allocations: 3.783 MB / 362.7 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.09436, allocations: 1.079 MB / 363.8 MB, free: 8.441 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003513/0.09473, allocations: 23.88 kB / 363.8 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000404/0.09516, allocations: 150.8 kB / 363.9 MB, free: 8.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009823/0.09615, allocations: 298.4 kB / 364.2 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.09645, allocations: 135.8 kB / 364.3 MB, free: 7.844 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001245/0.09771, allocations: 1.42 MB / 365.8 MB, free: 6.418 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.09891, allocations: 1.229 MB / 367 MB, free: 5.148 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006521/0.09958, allocations: 0.6425 MB / 367.6 MB, free: 4.504 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008454/0.1004, allocations: 0.7823 MB / 368.4 MB, free: 3.719 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.1006, allocations: 156 kB / 368.6 MB, free: 3.566 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002324/0.1009, allocations: 164 kB / 368.7 MB, free: 3.406 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003655/0.1012, allocations: 466.7 kB / 369.2 MB, free: 2.949 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006778/0.1019, allocations: 0.7506 MB / 369.9 MB, free: 2.195 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001517/0.1034, allocations: 2.068 MB / 372 MB, free: 124 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1035, allocations: 4 kB / 372 MB, free: 120 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1035, allocations: 0 / 372 MB, free: 120 kB / 302.1 MB Notification: Performance of Transformations before backend: time 1.627e-05/0.1035, allocations: 0 / 372 MB, free: 120 kB / 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.1398/0.2433, allocations: 1.689 MB / 373.7 MB, free: 19.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.2434, allocations: 8.75 kB / 373.7 MB, free: 19.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004979/0.2439, allocations: 174.7 kB / 373.9 MB, free: 19.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001571/0.2455, allocations: 0.9119 MB / 374.8 MB, free: 19.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.929e-05/0.2455, allocations: 85.28 kB / 374.9 MB, free: 19.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.2457, allocations: 110.4 kB / 375 MB, free: 19.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002352/0.248, allocations: 1.573 MB / 376.6 MB, free: 18.6 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.2481, allocations: 3.938 kB / 376.6 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.354e-05/0.2482, allocations: 50.94 kB / 376.6 MB, free: 18.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.2482, allocations: 26.12 kB / 376.6 MB, free: 18.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/0.2501, allocations: 1.333 MB / 378 MB, free: 18.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006433/0.2566, allocations: 4.268 MB / 382.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009915/0.2576, allocations: 1.329 MB / 383.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008497/0.2585, allocations: 0.527 MB / 384.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.2585, allocations: 8.188 kB / 384.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.2585, allocations: 38.81 kB / 384.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.395e-06/0.2586, allocations: 0 / 384.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.00149/0.26, allocations: 0.8828 MB / 385 MB, free: 14.37 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.2601, allocations: 57.38 kB / 385.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.2612, allocations: 0.8229 MB / 385.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.249e-05/0.2612, allocations: 35.95 kB / 385.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003272/0.2616, allocations: 0.5489 MB / 386.5 MB, free: 13.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.2617, allocations: 169.4 kB / 386.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.2618, allocations: 107.5 kB / 386.8 MB, free: 13.33 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.262, allocations: 387.4 kB / 387.1 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/0.2624, allocations: 300.2 kB / 387.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004122/0.2628, allocations: 396.7 kB / 387.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007983/0.2636, allocations: 0.6902 MB / 388.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2636, allocations: 5.031 kB / 388.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001087/0.2647, allocations: 0.8285 MB / 389.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.2647, allocations: 9.812 kB / 389.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2647, allocations: 2.375 kB / 389.4 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.2648, allocations: 4.469 kB / 389.4 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005565/0.2653, allocations: 148 kB / 389.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.2653, allocations: 4.656 kB / 389.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003705/0.2657, allocations: 67.34 kB / 389.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.2658, allocations: 17.78 kB / 389.6 MB, free: 11.66 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.0004953/0.2663, allocations: 465.6 kB / 390 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.2664, allocations: 76.12 kB / 390.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.2665, allocations: 93.3 kB / 390.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.2665, allocations: 4.906 kB / 390.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.2666, allocations: 0 / 390.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2666, allocations: 6.078 kB / 390.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002697/0.2693, allocations: 1.947 MB / 392.2 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2693, allocations: 2.406 kB / 392.2 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004647/0.2698, allocations: 118.4 kB / 392.3 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.902e-06/0.2698, allocations: 2.75 kB / 392.3 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/0.2698, allocations: 12.12 kB / 392.3 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.319e-06/0.2698, allocations: 12.05 kB / 392.3 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.2698, allocations: 1.375 kB / 392.3 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.2711, allocations: 1.125 MB / 393.4 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.2713, allocations: 173.8 kB / 393.6 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.96e-05/0.2714, allocations: 10.16 kB / 393.6 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003903/0.2718, allocations: 49.92 kB / 393.7 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.2719, allocations: 38.89 kB / 393.7 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/0.2719, allocations: 23.86 kB / 393.7 MB, free: 9.055 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006279/0.2725, allocations: 0.5941 MB / 394.3 MB, free: 8.723 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2725, allocations: 0 / 394.3 MB, free: 8.723 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006838/0.2732, allocations: 287.9 kB / 394.6 MB, free: 8.641 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.0001166/0.2733, allocations: 121.7 kB / 394.7 MB, free: 8.539 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008329/0.2742, allocations: 0.6615 MB / 395.4 MB, free: 8.227 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2742, allocations: 0 / 395.4 MB, free: 8.227 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003377/0.2745, allocations: 319.7 kB / 395.7 MB, free: 8.082 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007764/0.2753, allocations: 182.2 kB / 395.9 MB, free: 7.996 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.278, allocations: 2.275 MB / 398.1 MB, free: 6.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000561/0.2785, allocations: 1.34 MB / 399.5 MB, free: 4.703 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003728/0.2789, allocations: 213.7 kB / 399.7 MB, free: 4.492 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.2791, allocations: 55.44 kB / 399.7 MB, free: 4.438 MB / 302.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2791, allocations: 4 kB / 399.8 MB, free: 4.434 MB / 302.1 MB Notification: Performance of Templates: time 0.01506/0.2941, allocations: 10.02 MB / 409.8 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 -s gbode -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