Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 108.3 kB / 17.7 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 183.8 kB / 18.62 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 51.92 kB / 351.9 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2519, allocations: 49.42 MB / 401.3 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.00466/0.2566, allocations: 3.783 MB / 405.1 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001876/0.2585, allocations: 0.993 MB / 406.1 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002348/0.2587, allocations: 23.94 kB / 406.1 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.2591, allocations: 146.8 kB / 406.3 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007508/0.2599, allocations: 298.4 kB / 406.6 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.2601, allocations: 119.9 kB / 406.7 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001254/0.2614, allocations: 1.408 MB / 408.1 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00127/0.2627, allocations: 1.213 MB / 409.3 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000718/0.2634, allocations: 0.6425 MB / 409.9 MB, free: 200 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009232/0.2643, allocations: 0.7668 MB / 410.7 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001755/0.2645, allocations: 164 kB / 410.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002036/0.2647, allocations: 160 kB / 411 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003747/0.2651, allocations: 470.7 kB / 411.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007851/0.2659, allocations: 0.7389 MB / 412.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.2676, allocations: 2.065 MB / 414.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2676, allocations: 0 / 414.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2676, allocations: 0 / 414.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.376e-05/0.2676, allocations: 0 / 414.3 MB, free: 11.84 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.002847/0.2705, allocations: 1.691 MB / 416 MB, free: 10.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.2705, allocations: 12.03 kB / 416 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002315/0.2708, allocations: 139.3 kB / 416.1 MB, free: 9.941 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.272, allocations: 0.8812 MB / 417 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.154e-05/0.2721, allocations: 90.38 kB / 417.1 MB, free: 8.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.2723, allocations: 111.9 kB / 417.2 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002483/0.2748, allocations: 1.572 MB / 418.8 MB, free: 7.203 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.2748, allocations: 0 / 418.8 MB, free: 7.203 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.2749, allocations: 52 kB / 418.8 MB, free: 7.152 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.275, allocations: 28 kB / 418.9 MB, free: 7.125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/0.2771, allocations: 1.332 MB / 420.2 MB, free: 5.785 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006432/0.2836, allocations: 4.267 MB / 424.5 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.2848, allocations: 1.338 MB / 425.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008704/0.2857, allocations: 0.53 MB / 426.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.2857, allocations: 8.438 kB / 426.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.2857, allocations: 42.94 kB / 426.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.064e-06/0.2858, allocations: 0 / 426.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.001448/0.2872, allocations: 0.8729 MB / 427.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.2873, allocations: 59.84 kB / 427.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.2883, allocations: 0.8242 MB / 428.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.751e-05/0.2884, allocations: 33.7 kB / 428.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004414/0.2888, allocations: 0.5415 MB / 428.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.289, allocations: 177.4 kB / 428.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/0.2892, allocations: 106.2 kB / 429 MB, free: 12.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.2894, allocations: 386.8 kB / 429.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004685/0.2898, allocations: 300.9 kB / 429.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005251/0.2904, allocations: 398.5 kB / 430 MB, free: 11.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009661/0.2913, allocations: 0.6903 MB / 430.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.2914, allocations: 4 kB / 430.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001221/0.2926, allocations: 0.8181 MB / 431.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.2926, allocations: 8.281 kB / 431.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2926, allocations: 4 kB / 431.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.2926, allocations: 4 kB / 431.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006113/0.2933, allocations: 151.8 kB / 431.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.2933, allocations: 11.94 kB / 431.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.2937, allocations: 67.34 kB / 431.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.2937, allocations: 23.98 kB / 431.8 MB, free: 9.703 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.0005937/0.2943, allocations: 469.4 kB / 432.3 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.2944, allocations: 71.16 kB / 432.4 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/0.2946, allocations: 91.08 kB / 432.4 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.2947, allocations: 4 kB / 432.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.2947, allocations: 0 / 432.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.2947, allocations: 7.922 kB / 432.5 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002806/0.2975, allocations: 1.938 MB / 434.4 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2975, allocations: 0 / 434.4 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004991/0.298, allocations: 128 kB / 434.5 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.298, allocations: 0 / 434.5 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/0.2981, allocations: 16 kB / 434.5 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2981, allocations: 0 / 434.5 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2981, allocations: 4 kB / 434.5 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.2996, allocations: 1.13 MB / 435.7 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.2998, allocations: 164.2 kB / 435.8 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.462e-05/0.2999, allocations: 15.98 kB / 435.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000405/0.3003, allocations: 51.95 kB / 435.9 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.3004, allocations: 36.33 kB / 435.9 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/0.3004, allocations: 19.98 kB / 435.9 MB, free: 5.441 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007373/0.3012, allocations: 0.5888 MB / 436.5 MB, free: 4.855 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3012, allocations: 0 / 436.5 MB, free: 4.855 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000712/0.3019, allocations: 286.7 kB / 436.8 MB, free: 4.574 MB / 350.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.0001608/0.3021, allocations: 119.1 kB / 436.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.3031, allocations: 0.6497 MB / 437.6 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3031, allocations: 0.5625 kB / 437.6 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004657/0.3036, allocations: 330.2 kB / 437.9 MB, free: 3.469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008822/0.3045, allocations: 182.2 kB / 438.1 MB, free: 3.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003557/0.308, allocations: 2.264 MB / 440.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009087/0.309, allocations: 1.316 MB / 441.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.3092, allocations: 63.44 kB / 441.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3092, allocations: 0 / 441.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of Templates: time 0.01889/0.3281, allocations: 13.28 MB / 455 MB, free: 2.344 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches