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.001386/0.001386, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001395/0.001395, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 55.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3112, allocations: 50.54 MB / 409.2 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004835/0.3161, allocations: 3.793 MB / 413 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.318, allocations: 1.071 MB / 414.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002494/0.3182, allocations: 19.94 kB / 414.1 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003501/0.3186, allocations: 162.8 kB / 414.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008484/0.3195, allocations: 302.3 kB / 414.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.3197, allocations: 135.8 kB / 414.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001302/0.321, allocations: 1.416 MB / 416.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001353/0.3224, allocations: 1.221 MB / 417.3 MB, free: 9.418 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007638/0.3232, allocations: 0.6464 MB / 418 MB, free: 8.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008952/0.3241, allocations: 0.7784 MB / 418.8 MB, free: 7.988 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001731/0.3243, allocations: 160 kB / 418.9 MB, free: 7.832 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002359/0.3245, allocations: 164 kB / 419.1 MB, free: 7.672 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004385/0.325, allocations: 470.7 kB / 419.5 MB, free: 7.211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007307/0.3257, allocations: 0.7428 MB / 420.3 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.3273, allocations: 2.069 MB / 422.4 MB, free: 4.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3273, allocations: 4 kB / 422.4 MB, free: 4.391 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.3273, allocations: 0 / 422.4 MB, free: 4.391 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.043e-05/0.3274, allocations: 3.938 kB / 422.4 MB, free: 4.387 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.002714/0.3301, allocations: 1.695 MB / 424.1 MB, free: 2.637 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.3301, allocations: 8.031 kB / 424.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004468/0.3306, allocations: 175.2 kB / 424.2 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.3319, allocations: 0.9046 MB / 425.1 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.368e-05/0.332, allocations: 94.31 kB / 425.2 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.3321, allocations: 108 kB / 425.3 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/0.3342, allocations: 1.572 MB / 426.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.3343, allocations: 3.938 kB / 426.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.557e-05/0.3344, allocations: 48 kB / 427 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.677e-05/0.3344, allocations: 28 kB / 427 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/0.3363, allocations: 1.332 MB / 428.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005675/0.342, allocations: 4.267 MB / 432.6 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.3431, allocations: 1.345 MB / 433.9 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007915/0.3439, allocations: 0.5179 MB / 434.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.3439, allocations: 8.375 kB / 434.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.344, allocations: 43 kB / 434.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.084e-06/0.344, allocations: 0 / 434.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.001335/0.3453, allocations: 0.8728 MB / 435.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.3454, allocations: 55.84 kB / 435.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009404/0.3463, allocations: 0.8322 MB / 436.3 MB, free: 5.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.3464, allocations: 41.7 kB / 436.3 MB, free: 5.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003535/0.3467, allocations: 0.5492 MB / 436.9 MB, free: 5.375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.3469, allocations: 173.5 kB / 437 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.347, allocations: 110.1 kB / 437.1 MB, free: 5.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.3472, allocations: 382.8 kB / 437.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000422/0.3476, allocations: 304.9 kB / 437.8 MB, free: 4.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000471/0.3481, allocations: 390.5 kB / 438.2 MB, free: 3.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009036/0.349, allocations: 0.6903 MB / 438.9 MB, free: 3.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.349, allocations: 0 / 438.9 MB, free: 3.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001123/0.3502, allocations: 0.8257 MB / 439.7 MB, free: 2.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3502, allocations: 4 kB / 439.7 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.3502, allocations: 4 kB / 439.7 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.3502, allocations: 4 kB / 439.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005514/0.3508, allocations: 152.1 kB / 439.9 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.3508, allocations: 4 kB / 439.9 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003139/0.3511, allocations: 67.44 kB / 439.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.794e-05/0.3512, allocations: 24 kB / 440 MB, free: 2.184 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.0005066/0.3517, allocations: 457.4 kB / 440.4 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.864e-05/0.3518, allocations: 75.16 kB / 440.5 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.3519, allocations: 91.06 kB / 440.6 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.352, allocations: 12 kB / 440.6 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.352, allocations: 0 / 440.6 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.352, allocations: 7.922 kB / 440.6 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002627/0.3546, allocations: 1.949 MB / 442.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.3546, allocations: 0 / 442.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/0.3551, allocations: 111.9 kB / 442.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.3551, allocations: 4 kB / 442.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-05/0.3551, allocations: 20.14 kB / 442.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3552, allocations: 7.938 kB / 442.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.3552, allocations: 7.984 kB / 442.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.3566, allocations: 1.129 MB / 443.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/0.3568, allocations: 168.2 kB / 444 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.745e-05/0.3569, allocations: 12 kB / 444 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/0.3573, allocations: 51.95 kB / 444 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.914e-05/0.3574, allocations: 40.31 kB / 444.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.167e-05/0.3574, allocations: 16 kB / 444.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006579/0.3581, allocations: 0.6004 MB / 444.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3581, allocations: 0 / 444.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006119/0.3587, allocations: 278.8 kB / 445 MB, free: 13.03 MB / 366.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.0001347/0.3588, allocations: 118.1 kB / 445.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009128/0.3598, allocations: 0.6458 MB / 445.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.3598, allocations: 4 kB / 445.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004241/0.3602, allocations: 331 kB / 446.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008004/0.361, allocations: 178.8 kB / 446.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/0.3642, allocations: 2.274 MB / 448.5 MB, free: 9.453 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008572/0.3651, allocations: 1.34 MB / 449.8 MB, free: 8.078 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004133/0.3655, allocations: 217.8 kB / 450.1 MB, free: 7.863 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.3656, allocations: 55.42 kB / 450.1 MB, free: 7.809 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3656, allocations: 0 / 450.1 MB, free: 7.809 MB / 366.1 MB Notification: Performance of Templates: time 0.0175/0.3831, allocations: 10.2 MB / 460.3 MB, free: 13.73 MB / 382.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