Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.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_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.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_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001189/0.001188, allocations: 179 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.678/1.678, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008711/0.000871, allocations: 89.16 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004863/0.0004864, allocations: 8 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3637, allocations: 47.57 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.003901/0.3677, allocations: 3.199 MB / 377.7 MB, free: 42.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.3694, allocations: 1.013 MB / 378.8 MB, free: 42.08 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002194/0.3696, allocations: 18.22 kB / 378.8 MB, free: 42.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.3699, allocations: 114.6 kB / 378.9 MB, free: 41.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007343/0.3707, allocations: 265.3 kB / 379.2 MB, free: 41.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.3709, allocations: 91.14 kB / 379.2 MB, free: 41.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001527/0.3724, allocations: 1.522 MB / 380.8 MB, free: 40.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.3736, allocations: 0.7591 MB / 381.5 MB, free: 40.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008511/0.3745, allocations: 488.9 kB / 382 MB, free: 40.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.3755, allocations: 0.6384 MB / 382.6 MB, free: 39.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001901/0.3757, allocations: 76.12 kB / 382.7 MB, free: 39.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002492/0.376, allocations: 75.44 kB / 382.8 MB, free: 39.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003519/0.3764, allocations: 354.3 kB / 383.1 MB, free: 39.53 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002932/0.3767, allocations: 275.8 kB / 383.4 MB, free: 39.37 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001547/0.3782, allocations: 1.648 MB / 385 MB, free: 38.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.3782, allocations: 4 kB / 385.1 MB, free: 38.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3782, allocations: 0 / 385.1 MB, free: 38.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.3783, allocations: 3.938 kB / 385.1 MB, free: 38.18 MB / 298.7 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.002328/0.3806, allocations: 1.481 MB / 386.5 MB, free: 36.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.3807, allocations: 8.031 kB / 386.5 MB, free: 36.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000208/0.3809, allocations: 146.3 kB / 386.7 MB, free: 36.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.3819, allocations: 0.8025 MB / 387.5 MB, free: 35.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.457e-05/0.382, allocations: 86.25 kB / 387.6 MB, free: 35.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.3821, allocations: 108 kB / 387.7 MB, free: 35.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002174/0.3843, allocations: 1.564 MB / 389.2 MB, free: 33.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.3843, allocations: 3.938 kB / 389.2 MB, free: 33.94 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.3845, allocations: 44 kB / 389.3 MB, free: 33.9 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/0.3845, allocations: 28 kB / 389.3 MB, free: 33.87 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/0.3863, allocations: 1.332 MB / 390.6 MB, free: 32.53 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00529/0.3916, allocations: 4.362 MB / 395 MB, free: 28.04 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008722/0.3924, allocations: 1.341 MB / 396.4 MB, free: 26.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007467/0.3932, allocations: 0.5571 MB / 396.9 MB, free: 25.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.3932, allocations: 8.438 kB / 396.9 MB, free: 25.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.3933, allocations: 43 kB / 397 MB, free: 25.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=51): time 3.096e-06/0.3933, allocations: 0 / 397 MB, free: 25.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.001217/0.3945, allocations: 0.8924 MB / 397.9 MB, free: 25.01 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.3946, allocations: 59.8 kB / 397.9 MB, free: 24.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008138/0.3954, allocations: 0.8088 MB / 398.7 MB, free: 24.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.3954, allocations: 33.7 kB / 398.8 MB, free: 24.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/0.3957, allocations: 0.5453 MB / 399.3 MB, free: 23.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.889e-05/0.3958, allocations: 181.4 kB / 399.5 MB, free: 23.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.3958, allocations: 8 kB / 399.5 MB, free: 23.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.448e-05/0.3959, allocations: 394.8 kB / 399.9 MB, free: 22.94 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003843/0.3963, allocations: 304.9 kB / 400.2 MB, free: 22.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004178/0.3967, allocations: 406.5 kB / 400.6 MB, free: 22.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004514/0.3972, allocations: 365.9 kB / 400.9 MB, free: 21.86 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3972, allocations: 0 / 400.9 MB, free: 21.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001/0.3982, allocations: 0.8259 MB / 401.7 MB, free: 21.03 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.3982, allocations: 11.98 kB / 401.8 MB, free: 21.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.3983, allocations: 0 / 401.8 MB, free: 21.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.3983, allocations: 8 kB / 401.8 MB, free: 21.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000556/0.3988, allocations: 156.1 kB / 401.9 MB, free: 20.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.3989, allocations: 7.953 kB / 401.9 MB, free: 20.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/0.3992, allocations: 63.5 kB / 402 MB, free: 20.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.3993, allocations: 16 kB / 402 MB, free: 20.77 MB / 298.7 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.0005358/0.3998, allocations: 461.4 kB / 402.5 MB, free: 20.31 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.3999, allocations: 75.06 kB / 402.5 MB, free: 20.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.4001, allocations: 91.08 kB / 402.6 MB, free: 20.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.4001, allocations: 11.94 kB / 402.6 MB, free: 20.13 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.4001, allocations: 0 / 402.6 MB, free: 20.13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.4001, allocations: 11.88 kB / 402.6 MB, free: 20.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/0.4024, allocations: 1.958 MB / 404.6 MB, free: 18.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.4025, allocations: 4 kB / 404.6 MB, free: 18.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004663/0.4029, allocations: 123.8 kB / 404.7 MB, free: 17.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.4029, allocations: 0 / 404.7 MB, free: 17.96 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.403, allocations: 16 kB / 404.7 MB, free: 17.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.403, allocations: 12.14 kB / 404.8 MB, free: 17.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.403, allocations: 4 kB / 404.8 MB, free: 17.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.4042, allocations: 1.149 MB / 405.9 MB, free: 16.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.4044, allocations: 160.2 kB / 406.1 MB, free: 16.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.006e-05/0.4045, allocations: 23.98 kB / 406.1 MB, free: 16.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/0.4049, allocations: 51.95 kB / 406.1 MB, free: 16.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.344e-05/0.405, allocations: 32.39 kB / 406.2 MB, free: 16.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.71e-05/0.405, allocations: 23.98 kB / 406.2 MB, free: 16.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005592/0.4056, allocations: 0.581 MB / 406.8 MB, free: 15.87 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4056, allocations: 4 kB / 406.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006997/0.4063, allocations: 282.8 kB / 407.1 MB, free: 15.59 MB / 298.7 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 (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.0001435/0.4064, allocations: 115.1 kB / 407.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008539/0.4073, allocations: 0.6575 MB / 407.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4073, allocations: 0 / 407.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003664/0.4077, allocations: 335 kB / 408.1 MB, free: 14.47 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008712/0.4086, allocations: 172.6 kB / 408.3 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/0.4119, allocations: 2.73 MB / 411 MB, free: 11.53 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006324/0.4125, allocations: 1.321 MB / 412.4 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.4127, allocations: 51.44 kB / 412.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of SimCode: time 3e-07/0.4127, allocations: 4 kB / 412.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of Templates: time 0.01632/0.429, allocations: 13.17 MB / 425.6 MB, free: 12.96 MB / 314.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYD/TransformerYD.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches