Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001518/0.001519, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 225.4 MB / 240.1 MB, free: 15.06 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000917/0.000917, allocations: 87.22 kB / 292.1 MB, free: 6.023 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.664e-05/2.666e-05, allocations: 4 kB / 350.5 MB, free: 2.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1039, allocations: 51.49 MB / 402 MB, free: 14.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3274/0.4313, allocations: 90.23 MB / 492.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.4316, allocations: 78.39 kB / 492.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5167/0.9483, allocations: 142.9 MB / 0.6204 GB, free: 83.58 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.9483, allocations: 0 / 0.6204 GB, free: 83.58 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003223/0.9487, allocations: 80.23 kB / 0.6205 GB, free: 83.57 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01501/0.9637, allocations: 3.723 MB / 0.6241 GB, free: 82.31 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.186e-05/0.9638, allocations: 8.875 kB / 0.6241 GB, free: 82.31 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006505/0.9703, allocations: 0.9493 MB / 0.625 GB, free: 82.11 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007348/0.9777, allocations: 2.427 MB / 0.6274 GB, free: 81.56 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005075/0.9782, allocations: 290.6 kB / 0.6277 GB, free: 81.55 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001819/0.98, allocations: 396.3 kB / 0.6281 GB, free: 81.55 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01674/0.9968, allocations: 5.81 MB / 0.6337 GB, free: 80.01 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000169/0.997, allocations: 7.781 kB / 0.6337 GB, free: 80 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001081/0.9981, allocations: 161.5 kB / 0.6339 GB, free: 79.88 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003209/0.9984, allocations: 284.7 kB / 0.6342 GB, free: 79.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008208/1.007, allocations: 4.254 MB / 0.6383 GB, free: 78.04 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.023/1.03, allocations: 18.87 MB / 0.6567 GB, free: 67.22 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003719/1.033, allocations: 3.884 MB / 0.6605 GB, free: 64.1 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/1.035, allocations: 0.8365 MB / 0.6614 GB, free: 63.83 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001668/1.035, allocations: 192 kB / 0.6615 GB, free: 63.64 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/1.035, allocations: 47.34 kB / 0.6616 GB, free: 63.59 MB / 442.7 MB Notification: Performance of pre-optimization done (n=106): time 3.898e-06/1.035, allocations: 0 / 0.6616 GB, free: 63.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=106): time 0.001625/1.036, allocations: 1.159 MB / 0.6627 GB, free: 63.15 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/1.036, allocations: 63.88 kB / 0.6628 GB, free: 63.09 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/1.038, allocations: 1.189 MB / 0.6639 GB, free: 62.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.817e-05/1.038, allocations: 41.02 kB / 0.664 GB, free: 62.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007437/1.039, allocations: 1.756 MB / 0.6657 GB, free: 61.22 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000216/1.039, allocations: 379.1 kB / 0.6661 GB, free: 60.94 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.856e-05/1.039, allocations: 43.38 kB / 0.6661 GB, free: 60.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001836/1.039, allocations: 447.4 kB / 0.6665 GB, free: 60.54 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/1.04, allocations: 0.8376 MB / 0.6673 GB, free: 60.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001569/1.042, allocations: 1.837 MB / 0.6691 GB, free: 58.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/1.043, allocations: 1.308 MB / 0.6704 GB, free: 58.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.869e-05/1.043, allocations: 11.19 kB / 0.6704 GB, free: 58.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.006326/1.05, allocations: 2.76 MB / 0.6731 GB, free: 57.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.185e-05/1.05, allocations: 24.61 kB / 0.6731 GB, free: 57.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.266e-05/1.05, allocations: 33.91 kB / 0.6732 GB, free: 57.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001121/1.05, allocations: 53.5 kB / 0.6732 GB, free: 57.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002638/1.053, allocations: 0.5279 MB / 0.6737 GB, free: 57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.632e-05/1.053, allocations: 67.83 kB / 0.6738 GB, free: 56.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002243/1.055, allocations: 290.3 kB / 0.6741 GB, free: 56.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002252/1.055, allocations: 119.2 kB / 0.6742 GB, free: 56.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 156 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.000388/1.056, allocations: 253.3 kB / 0.6744 GB, free: 56.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002762/1.056, allocations: 123.8 kB / 0.6746 GB, free: 56.51 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003295/1.059, allocations: 1.515 MB / 0.676 GB, free: 55.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002038/1.061, allocations: 1.077 MB / 0.6771 GB, free: 55.54 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/1.061, allocations: 0 / 0.6771 GB, free: 55.54 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/1.061, allocations: 7.453 kB / 0.6771 GB, free: 55.54 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02304/1.084, allocations: 13.6 MB / 0.6904 GB, free: 43.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.369e-05/1.084, allocations: 20 kB / 0.6904 GB, free: 43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/1.086, allocations: 235.5 kB / 0.6906 GB, free: 42.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.595e-05/1.086, allocations: 28 kB / 0.6906 GB, free: 42.74 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/1.086, allocations: 51.98 kB / 0.6907 GB, free: 42.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.38e-05/1.086, allocations: 40.45 kB / 0.6907 GB, free: 42.65 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.55e-05/1.086, allocations: 35.81 kB / 0.6908 GB, free: 42.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004614/1.091, allocations: 3.929 MB / 0.6946 GB, free: 37.89 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006021/1.091, allocations: 247.2 kB / 0.6948 GB, free: 37.63 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003976/1.092, allocations: 55.97 kB / 0.6949 GB, free: 37.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/1.093, allocations: 67.95 kB / 0.695 GB, free: 37.51 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002125/1.093, allocations: 143.5 kB / 0.6951 GB, free: 37.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/1.094, allocations: 59.98 kB / 0.6952 GB, free: 37.31 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001979/1.096, allocations: 0.8835 MB / 0.696 GB, free: 36.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.096, allocations: 0 / 0.696 GB, free: 36.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003123/1.099, allocations: 0.8857 MB / 0.6969 GB, free: 35.52 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 1 (currentSensor31.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0005471/1.099, allocations: 254.7 kB / 0.6971 GB, free: 35.27 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003727/1.103, allocations: 1.905 MB / 0.699 GB, free: 33.37 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/1.103, allocations: 4 kB / 0.699 GB, free: 33.36 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001159/1.104, allocations: 0.6673 MB / 0.6996 GB, free: 32.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/1.107, allocations: 312.2 kB / 0.6999 GB, free: 32.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01436/1.121, allocations: 5.32 MB / 0.7051 GB, free: 26.75 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003911/1.125, allocations: 2.867 MB / 0.7079 GB, free: 23.85 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002995/1.128, allocations: 0.761 MB / 0.7087 GB, free: 23.09 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004879/1.129, allocations: 111.4 kB / 0.7088 GB, free: 22.98 MB / 442.7 MB Notification: Performance of SimCode: time 1.212e-06/1.129, allocations: 4 kB / 0.7088 GB, free: 22.98 MB / 442.7 MB Notification: Performance of Templates: time 0.04415/1.173, allocations: 16.37 MB / 0.7248 GB, free: 6.816 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches