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.0012/0.001201, allocations: 93.7 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001609/0.001609, allocations: 205 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.2 MB / 245.9 MB, free: 12.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002542/0.0002542, allocations: 4 kB / 306.6 MB, free: 1.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1144, allocations: 51.49 MB / 358.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.003424/0.1178, allocations: 3.068 MB / 361.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.1199, allocations: 1.029 MB / 362.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003/0.1203, allocations: 19.88 kB / 362.2 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.1205, allocations: 135.2 kB / 362.3 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007321/0.1213, allocations: 223.3 kB / 362.5 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.1215, allocations: 79.91 kB / 362.6 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009175/0.1224, allocations: 0.8692 MB / 363.5 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008876/0.1233, allocations: 0.8377 MB / 364.3 MB, free: 7.844 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005718/0.1239, allocations: 450.5 kB / 364.8 MB, free: 7.402 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006057/0.1245, allocations: 0.5369 MB / 365.3 MB, free: 6.863 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.1247, allocations: 72 kB / 365.4 MB, free: 6.793 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.1248, allocations: 76 kB / 365.4 MB, free: 6.719 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002841/0.1251, allocations: 339 kB / 365.8 MB, free: 6.387 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002305/0.1254, allocations: 273 kB / 366 MB, free: 6.113 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.1266, allocations: 1.637 MB / 367.7 MB, free: 4.473 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1266, allocations: 0 / 367.7 MB, free: 4.473 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1266, allocations: 0 / 367.7 MB, free: 4.473 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.929e-05/0.1267, allocations: 0 / 367.7 MB, free: 4.473 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.00255/0.1292, allocations: 1.5 MB / 369.2 MB, free: 2.918 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.1293, allocations: 8.031 kB / 369.2 MB, free: 2.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004975/0.1298, allocations: 170.4 kB / 369.3 MB, free: 2.742 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.1311, allocations: 0.8336 MB / 370.2 MB, free: 1.867 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.871e-05/0.1312, allocations: 86.2 kB / 370.3 MB, free: 1.781 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.1314, allocations: 112 kB / 370.4 MB, free: 1.672 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002338/0.1337, allocations: 1.56 MB / 371.9 MB, free: 68 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.1337, allocations: 0 / 371.9 MB, free: 68 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.1338, allocations: 48 kB / 372 MB, free: 20 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2225/0.3563, allocations: 25.73 kB / 372 MB, free: 19.03 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003289/0.3597, allocations: 1.336 MB / 373.3 MB, free: 19.01 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008319/0.368, allocations: 4.355 MB / 377.7 MB, free: 17.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.3692, allocations: 1.332 MB / 379 MB, free: 16.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.3693, allocations: 6.031 kB / 379 MB, free: 16.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.3693, allocations: 42 kB / 379.1 MB, free: 16.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.705e-06/0.3693, allocations: 0 / 379.1 MB, free: 16.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.00167/0.371, allocations: 0.9092 MB / 380 MB, free: 15.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.371, allocations: 56.94 kB / 380 MB, free: 15.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.3722, allocations: 0.8151 MB / 380.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.099e-05/0.3723, allocations: 40.33 kB / 380.9 MB, free: 15.4 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003371/0.3726, allocations: 0.5483 MB / 381.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.3728, allocations: 177 kB / 381.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.3728, allocations: 10 kB / 381.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3729, allocations: 387.2 kB / 382 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004842/0.3734, allocations: 312 kB / 382.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005591/0.374, allocations: 401.8 kB / 382.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006176/0.3746, allocations: 375.8 kB / 383.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3746, allocations: 4.844 kB / 383.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001401/0.376, allocations: 0.8449 MB / 383.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.3761, allocations: 10.25 kB / 383.9 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.3761, allocations: 2.703 kB / 383.9 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.3761, allocations: 5.344 kB / 383.9 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006557/0.3768, allocations: 150.9 kB / 384.1 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.3768, allocations: 6.688 kB / 384.1 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004083/0.3772, allocations: 63.98 kB / 384.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/0.3773, allocations: 23.12 kB / 384.2 MB, free: 13.69 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00073/0.378, allocations: 463.3 kB / 384.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.3781, allocations: 71.53 kB / 384.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001455/0.3783, allocations: 90.88 kB / 384.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.3783, allocations: 5.312 kB / 384.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.3783, allocations: 0 / 384.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.3783, allocations: 2.719 kB / 384.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003172/0.3815, allocations: 1.973 MB / 386.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3815, allocations: 1.469 kB / 386.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005167/0.382, allocations: 117.6 kB / 386.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.3821, allocations: 6.75 kB / 386.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/0.3821, allocations: 13.88 kB / 386.9 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.3821, allocations: 7.781 kB / 386.9 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.3821, allocations: 4.516 kB / 386.9 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.3837, allocations: 1.173 MB / 388.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/0.384, allocations: 162.4 kB / 388.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.103e-05/0.3841, allocations: 16.23 kB / 388.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/0.3845, allocations: 55.73 kB / 388.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.3846, allocations: 41.72 kB / 388.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.3846, allocations: 17.8 kB / 388.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000788/0.3854, allocations: 0.5822 MB / 389 MB, free: 11.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3854, allocations: 0 / 389 MB, free: 11.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008764/0.3863, allocations: 289 kB / 389.2 MB, free: 11.11 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001596/0.3865, allocations: 118.5 kB / 389.4 MB, free: 11.01 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.3875, allocations: 0.6648 MB / 390 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3876, allocations: 0.5625 kB / 390 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004709/0.388, allocations: 334.8 kB / 390.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007123/0.3888, allocations: 161.2 kB / 390.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003806/0.3926, allocations: 2.722 MB / 393.2 MB, free: 8.676 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008396/0.3934, allocations: 1.364 MB / 394.6 MB, free: 7.625 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0006187/0.3941, allocations: 216.4 kB / 394.8 MB, free: 7.543 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.3942, allocations: 51.06 kB / 394.8 MB, free: 7.535 MB / 302.1 MB Notification: Performance of SimCode: time 1.833e-06/0.3942, allocations: 0 / 394.8 MB, free: 7.535 MB / 302.1 MB Notification: Performance of Templates: time 0.01449/0.4087, allocations: 9.119 MB / 404 MB, free: 15.58 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","../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches