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.001845/0.001845, allocations: 108.5 kB / 17.16 MB, free: 6.328 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.002589/0.002589, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.454/2.454, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 51.47 kB / 300.6 MB, free: 6.309 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1791, allocations: 49.44 MB / 350.1 MB, free: 4.855 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.008941/0.1881, allocations: 3.795 MB / 353.8 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003716/0.1919, allocations: 0.9814 MB / 354.8 MB, free: 48 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005271/0.1925, allocations: 19.94 kB / 354.8 MB, free: 28 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005821/0.1931, allocations: 123.2 kB / 355 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.1946, allocations: 274.7 kB / 355.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.195, allocations: 107.9 kB / 355.3 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002795/0.1978, allocations: 1.65 MB / 357 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002168/0.2, allocations: 1.046 MB / 358 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001552/0.2016, allocations: 0.541 MB / 358.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001744/0.2034, allocations: 0.7393 MB / 359.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002679/0.2037, allocations: 104 kB / 359.4 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003504/0.2041, allocations: 112 kB / 359.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000553/0.2046, allocations: 398.7 kB / 359.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.2058, allocations: 0.6803 MB / 360.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00223/0.2081, allocations: 1.68 MB / 362.3 MB, free: 8.535 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.2081, allocations: 0 / 362.3 MB, free: 8.535 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2081, allocations: 0 / 362.3 MB, free: 8.535 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.726e-05/0.2082, allocations: 0 / 362.3 MB, free: 8.535 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.005127/0.2133, allocations: 1.691 MB / 364 MB, free: 6.789 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.931e-05/0.2134, allocations: 8.031 kB / 364 MB, free: 6.781 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004706/0.2139, allocations: 143.2 kB / 364.1 MB, free: 6.641 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002186/0.2161, allocations: 0.8578 MB / 365 MB, free: 5.742 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.747e-05/0.2162, allocations: 86.62 kB / 365.1 MB, free: 5.656 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002842/0.2165, allocations: 111.9 kB / 365.2 MB, free: 5.547 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004455/0.221, allocations: 1.564 MB / 366.7 MB, free: 3.938 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.937e-05/0.2211, allocations: 3.938 kB / 366.7 MB, free: 3.934 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001895/0.2213, allocations: 51.98 kB / 366.8 MB, free: 3.883 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-05/0.2213, allocations: 31.94 kB / 366.8 MB, free: 3.852 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003937/0.2253, allocations: 1.328 MB / 368.1 MB, free: 2.516 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3452/0.5705, allocations: 4.312 MB / 372.5 MB, free: 23.06 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/0.5724, allocations: 1.352 MB / 373.8 MB, free: 22.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00158/0.574, allocations: 0.5226 MB / 374.3 MB, free: 22.17 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.282e-05/0.5741, allocations: 5.969 kB / 374.3 MB, free: 22.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.5741, allocations: 39.59 kB / 374.4 MB, free: 22.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 3.987e-06/0.5742, allocations: 0 / 374.4 MB, free: 22.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.00276/0.5769, allocations: 0.8737 MB / 375.3 MB, free: 21.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.577, allocations: 67.28 kB / 375.3 MB, free: 21.85 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/0.579, allocations: 0.8162 MB / 376.1 MB, free: 21.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.246e-05/0.5791, allocations: 36.45 kB / 376.2 MB, free: 21.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005476/0.5796, allocations: 0.5434 MB / 376.7 MB, free: 21.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.5799, allocations: 179.2 kB / 376.9 MB, free: 21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002856/0.5802, allocations: 99.95 kB / 377 MB, free: 20.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.5804, allocations: 382.1 kB / 377.4 MB, free: 20.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008316/0.5812, allocations: 310.4 kB / 377.7 MB, free: 20.51 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009295/0.5822, allocations: 392.5 kB / 378 MB, free: 20.33 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001817/0.584, allocations: 0.6879 MB / 378.7 MB, free: 20.03 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/0.584, allocations: 3.938 kB / 378.7 MB, free: 20.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002353/0.5864, allocations: 0.8247 MB / 379.6 MB, free: 19.72 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.421e-05/0.5865, allocations: 6.375 kB / 379.6 MB, free: 19.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.5865, allocations: 2.406 kB / 379.6 MB, free: 19.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.792e-05/0.5865, allocations: 5.125 kB / 379.6 MB, free: 19.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.5876, allocations: 152.1 kB / 379.7 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.227e-05/0.5877, allocations: 5.312 kB / 379.7 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007844/0.5885, allocations: 59.33 kB / 379.8 MB, free: 19.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.205e-05/0.5886, allocations: 19.22 kB / 379.8 MB, free: 19.67 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.001221/0.5898, allocations: 463 kB / 380.3 MB, free: 19.42 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002532/0.5901, allocations: 73.59 kB / 380.3 MB, free: 19.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/0.5903, allocations: 97.73 kB / 380.4 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.5904, allocations: 5.531 kB / 380.4 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.685e-05/0.5904, allocations: 0 / 380.4 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.5904, allocations: 3.562 kB / 380.4 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006169/0.5966, allocations: 1.95 MB / 382.4 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/0.5966, allocations: 6.594 kB / 382.4 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009132/0.5976, allocations: 117.2 kB / 382.5 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.651e-05/0.5976, allocations: 3.312 kB / 382.5 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.264e-05/0.5977, allocations: 14.27 kB / 382.5 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.321e-05/0.5977, allocations: 7.578 kB / 382.5 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/0.5977, allocations: 4.188 kB / 382.5 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002921/0.6007, allocations: 1.122 MB / 383.7 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004371/0.6011, allocations: 176.9 kB / 383.8 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.6013, allocations: 12.8 kB / 383.8 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007618/0.6021, allocations: 48.2 kB / 383.9 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.6023, allocations: 40.3 kB / 383.9 MB, free: 17.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.236e-05/0.6023, allocations: 15.95 kB / 383.9 MB, free: 17.72 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001447/0.6038, allocations: 0.5929 MB / 384.5 MB, free: 17.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 3e-07/0.6038, allocations: 0 / 384.5 MB, free: 17.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001493/0.6053, allocations: 284.2 kB / 384.8 MB, free: 17.4 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.0002291/0.6056, allocations: 115.7 kB / 384.9 MB, free: 17.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00193/0.6075, allocations: 0.6559 MB / 385.6 MB, free: 17.1 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.6075, allocations: 1.25 kB / 385.6 MB, free: 17.1 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008001/0.6083, allocations: 323.7 kB / 385.9 MB, free: 17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.61, allocations: 165.7 kB / 386.1 MB, free: 16.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006251/0.6162, allocations: 2.79 MB / 388.9 MB, free: 15.31 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/0.6173, allocations: 1.316 MB / 390.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003948/0.6177, allocations: 56.3 kB / 390.2 MB, free: 14.36 MB / 302.1 MB Notification: Performance of SimCode: time 1.503e-06/0.6177, allocations: 0 / 390.2 MB, free: 14.36 MB / 302.1 MB Notification: Performance of Templates: time 0.03051/0.6482, allocations: 13.27 MB / 403.5 MB, free: 3.918 MB / 302.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