Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001563/0.001563, allocations: 179.7 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.605/1.605, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0009099/0.00091, allocations: 97.11 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.0003283, allocations: 8 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3566, allocations: 47.57 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.004487/0.3611, allocations: 3.192 MB / 377.7 MB, free: 42.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002846/0.3641, allocations: 0.9696 MB / 378.7 MB, free: 42.13 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004447/0.3645, allocations: 18.06 kB / 378.7 MB, free: 42.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.3649, allocations: 114.6 kB / 378.8 MB, free: 42.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009203/0.3658, allocations: 242.5 kB / 379.1 MB, free: 41.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.3661, allocations: 94.62 kB / 379.2 MB, free: 41.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001834/0.3679, allocations: 1.494 MB / 380.7 MB, free: 40.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.369, allocations: 0.7349 MB / 381.4 MB, free: 40.51 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.3701, allocations: 473.1 kB / 381.9 MB, free: 40.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/0.3713, allocations: 0.6281 MB / 382.5 MB, free: 39.88 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001838/0.3715, allocations: 73.66 kB / 382.6 MB, free: 39.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002606/0.3717, allocations: 74.16 kB / 382.6 MB, free: 39.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003711/0.3721, allocations: 353.3 kB / 383 MB, free: 39.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000359/0.3725, allocations: 274.2 kB / 383.2 MB, free: 39.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001793/0.3743, allocations: 1.618 MB / 384.9 MB, free: 38.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.3743, allocations: 0 / 384.9 MB, free: 38.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.3743, allocations: 0 / 384.9 MB, free: 38.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.13e-05/0.3744, allocations: 3.938 kB / 384.9 MB, free: 38.32 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003143/0.3775, allocations: 1.456 MB / 386.3 MB, free: 36.97 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.463e-05/0.3776, allocations: 8.031 kB / 386.3 MB, free: 36.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003375/0.3779, allocations: 146.3 kB / 386.5 MB, free: 36.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.3794, allocations: 0.7909 MB / 387.3 MB, free: 35.99 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.517e-05/0.3794, allocations: 82.22 kB / 387.3 MB, free: 35.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.3796, allocations: 108 kB / 387.4 MB, free: 35.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002412/0.382, allocations: 1.54 MB / 389 MB, free: 34.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.382, allocations: 0 / 389 MB, free: 34.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.3822, allocations: 44 kB / 389 MB, free: 34.17 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/0.3822, allocations: 28 kB / 389.1 MB, free: 34.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.3841, allocations: 1.308 MB / 390.4 MB, free: 32.83 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006352/0.3905, allocations: 4.261 MB / 394.6 MB, free: 28.44 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.3916, allocations: 1.322 MB / 396 MB, free: 26.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000621/0.3922, allocations: 462.5 kB / 396.4 MB, free: 26.49 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.3923, allocations: 4.438 kB / 396.4 MB, free: 26.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.3923, allocations: 43 kB / 396.4 MB, free: 26.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 2.935e-06/0.3923, allocations: 0 / 396.4 MB, free: 26.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.003788/0.3961, allocations: 1.974 MB / 398.4 MB, free: 24.4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.3962, allocations: 55.84 kB / 398.5 MB, free: 24.33 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.3974, allocations: 0.8125 MB / 399.3 MB, free: 23.51 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/0.3975, allocations: 33.7 kB / 399.3 MB, free: 23.47 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004184/0.3979, allocations: 0.5414 MB / 399.9 MB, free: 22.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.398, allocations: 177.5 kB / 400 MB, free: 22.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.3981, allocations: 16 kB / 400.1 MB, free: 22.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.3983, allocations: 390.7 kB / 400.4 MB, free: 22.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004769/0.3988, allocations: 300.9 kB / 400.7 MB, free: 22.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000528/0.3993, allocations: 407.4 kB / 401.1 MB, free: 21.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005523/0.3999, allocations: 373.9 kB / 401.5 MB, free: 21.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3999, allocations: 0 / 401.5 MB, free: 21.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001514/0.4014, allocations: 0.9244 MB / 402.4 MB, free: 20.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.4014, allocations: 8 kB / 402.4 MB, free: 20.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.4015, allocations: 0 / 402.4 MB, free: 20.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003686/0.4018, allocations: 112.8 kB / 402.5 MB, free: 20.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005597/0.4024, allocations: 119.8 kB / 402.7 MB, free: 20.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002512/0.4049, allocations: 2.189 MB / 404.8 MB, free: 17.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006662/0.4056, allocations: 27.97 kB / 404.9 MB, free: 17.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.8e-05/0.4057, allocations: 24 kB / 404.9 MB, free: 17.7 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00109/0.4068, allocations: 453.4 kB / 405.3 MB, free: 17.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.407, allocations: 83.12 kB / 405.4 MB, free: 17.17 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001648/0.4072, allocations: 87.08 kB / 405.5 MB, free: 17.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.4072, allocations: 7.953 kB / 405.5 MB, free: 17.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-05/0.4072, allocations: 8.062 kB / 405.5 MB, free: 17.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.4072, allocations: 3.984 kB / 405.5 MB, free: 17.06 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003058/0.4103, allocations: 2.047 MB / 407.6 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.4103, allocations: 4 kB / 407.6 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/0.4107, allocations: 83.89 kB / 407.7 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002366/0.4109, allocations: 116.8 kB / 407.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/0.411, allocations: 12 kB / 407.8 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.4126, allocations: 2.127 MB / 409.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4126, allocations: 4.031 kB / 409.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.4141, allocations: 1.211 MB / 411.1 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002283/0.4143, allocations: 160.3 kB / 411.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.491e-05/0.4144, allocations: 19.95 kB / 411.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004118/0.4148, allocations: 56.02 kB / 411.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.595e-05/0.4149, allocations: 36.38 kB / 411.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/0.415, allocations: 16 kB / 411.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000723/0.4157, allocations: 0.5888 MB / 412 MB, free: 10.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4157, allocations: 0 / 412 MB, free: 10.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008618/0.4166, allocations: 208 kB / 412.2 MB, free: 10.12 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (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 (43): * Single equations (assignments): 42 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001607/0.4167, allocations: 111.2 kB / 412.3 MB, free: 10 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001185/0.4179, allocations: 0.8201 MB / 413.1 MB, free: 9.168 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4179, allocations: 0 / 413.1 MB, free: 9.168 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006291/0.4186, allocations: 0.4901 MB / 413.6 MB, free: 8.668 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008795/0.4195, allocations: 182.8 kB / 413.8 MB, free: 8.488 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003593/0.4231, allocations: 2.637 MB / 416.4 MB, free: 5.801 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007237/0.4238, allocations: 1.313 MB / 417.7 MB, free: 4.457 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/0.424, allocations: 55.42 kB / 417.8 MB, free: 4.402 MB / 298.7 MB Notification: Performance of SimCode: time 1.302e-06/0.424, allocations: 0 / 417.8 MB, free: 4.402 MB / 298.7 MB Notification: Performance of Templates: time 0.02986/0.4539, allocations: 18.64 MB / 436.4 MB, free: 1.766 MB / 314.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches