Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001042/0.001042, allocations: 173 kB / 14.1 MB, free: 1.223 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.455/1.455, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008616/0.0008616, allocations: 82.66 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.159e-05/2.16e-05, allocations: 3.938 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0762/0.07623, allocations: 47.57 MB / 370 MB, free: 1.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2635/0.3397, allocations: 80.39 MB / 450.4 MB, free: 12.9 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001771/0.34, allocations: 71.73 kB / 450.5 MB, free: 12.87 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04492/0.3849, allocations: 18.53 MB / 469 MB, free: 11.78 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3849, allocations: 3.938 kB / 469 MB, free: 11.78 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.487e-05/0.385, allocations: 31.94 kB / 469 MB, free: 11.75 MB / 346.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.002105/0.3871, allocations: 1.326 MB / 470.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.3872, allocations: 8.031 kB / 470.4 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002142/0.3874, allocations: 142.4 kB / 470.5 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.3887, allocations: 0.8495 MB / 471.4 MB, free: 9.328 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.619e-05/0.3888, allocations: 86.17 kB / 471.4 MB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.3889, allocations: 112 kB / 471.6 MB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.3911, allocations: 1.465 MB / 473 MB, free: 7.598 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.3911, allocations: 0 / 473 MB, free: 7.598 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.3912, allocations: 48 kB / 473.1 MB, free: 7.551 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.3912, allocations: 24 kB / 473.1 MB, free: 7.527 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.3929, allocations: 1.176 MB / 474.3 MB, free: 6.344 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005888/0.3988, allocations: 4.264 MB / 478.5 MB, free: 1.945 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.3999, allocations: 1.297 MB / 479.8 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005677/0.4005, allocations: 438.5 kB / 480.3 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.4005, allocations: 4.438 kB / 480.3 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.4005, allocations: 43.08 kB / 480.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 2.074e-06/0.4005, allocations: 0 / 480.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.002353/0.4029, allocations: 1.631 MB / 481.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.403, allocations: 59.84 kB / 482 MB, free: 14.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008521/0.4038, allocations: 0.7261 MB / 482.7 MB, free: 13.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.4039, allocations: 37.7 kB / 482.8 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003392/0.4042, allocations: 0.5414 MB / 483.3 MB, free: 12.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.4043, allocations: 173.4 kB / 483.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.4044, allocations: 12 kB / 483.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.4045, allocations: 386.7 kB / 483.9 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/0.4049, allocations: 289 kB / 484.1 MB, free: 12.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004235/0.4053, allocations: 376.7 kB / 484.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004573/0.4058, allocations: 347 kB / 484.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4058, allocations: 7.875 kB / 484.9 MB, free: 11.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001177/0.407, allocations: 0.885 MB / 485.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.407, allocations: 8 kB / 485.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.407, allocations: 0 / 485.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000255/0.4073, allocations: 113.1 kB / 485.9 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004948/0.4078, allocations: 127.8 kB / 486 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/0.4098, allocations: 2.17 MB / 488.1 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003718/0.4102, allocations: 32.03 kB / 488.2 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.4102, allocations: 20 kB / 488.2 MB, free: 7.797 MB / 362.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 () * 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.0001252/0.4104, allocations: 132.9 kB / 488.3 MB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.4105, allocations: 71.16 kB / 488.4 MB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/0.4107, allocations: 90.84 kB / 488.5 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.4107, allocations: 8 kB / 488.5 MB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.4107, allocations: 7.953 kB / 488.5 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.4107, allocations: 0 / 488.5 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002964/0.4137, allocations: 2.017 MB / 490.5 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.4137, allocations: 0 / 490.5 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003538/0.4141, allocations: 91.88 kB / 490.6 MB, free: 5.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002122/0.4143, allocations: 101.1 kB / 490.7 MB, free: 5.191 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.4143, allocations: 19.92 kB / 490.7 MB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/0.4163, allocations: 2.131 MB / 492.9 MB, free: 2.906 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4163, allocations: 0 / 492.9 MB, free: 2.906 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.4178, allocations: 1.208 MB / 494.1 MB, free: 1.637 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002145/0.418, allocations: 160.3 kB / 494.2 MB, free: 1.461 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.581e-05/0.4181, allocations: 12 kB / 494.2 MB, free: 1.449 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000389/0.4185, allocations: 56.02 kB / 494.3 MB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.4186, allocations: 44.33 kB / 494.3 MB, free: 1.352 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.4187, allocations: 16 kB / 494.3 MB, free: 1.336 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000711/0.4194, allocations: 0.5772 MB / 494.9 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4194, allocations: 0 / 494.9 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006914/0.4201, allocations: 212 kB / 495.1 MB, free: 0.5547 MB / 362.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 () * 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.0001743/0.4203, allocations: 115.1 kB / 495.2 MB, free: 440 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.4214, allocations: 0.7811 MB / 496 MB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4214, allocations: 0.625 kB / 496 MB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006349/0.4221, allocations: 480.7 kB / 496.5 MB, free: 15.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007138/0.4228, allocations: 164.6 kB / 496.7 MB, free: 14.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/0.4255, allocations: 1.743 MB / 498.4 MB, free: 13.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008971/0.4264, allocations: 1.356 MB / 499.8 MB, free: 11.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004596/0.4269, allocations: 185.8 kB / 499.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.427, allocations: 47.44 kB / 500 MB, free: 11.59 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.427, allocations: 0 / 500 MB, free: 11.59 MB / 378.7 MB Notification: Performance of Templates: time 0.01648/0.4435, allocations: 9.573 MB / 0.4976 GB, free: 2.008 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Electrical.MultiPhase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches