Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009914/0.0009912, allocations: 201.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008236/0.0008238, allocations: 96.02 kB / 286.7 MB, free: 5.238 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.593e-05/1.605e-05, allocations: 0 / 343.7 MB, free: 8.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1162, allocations: 51.48 MB / 395.2 MB, free: 4.766 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4409/0.5572, allocations: 89.69 MB / 484.9 MB, free: 3.516 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.5575, allocations: 83.14 kB / 484.9 MB, free: 3.473 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6751/1.233, allocations: 218.7 MB / 0.6872 GB, free: 54.35 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.274e-06/1.233, allocations: 0 / 0.6872 GB, free: 54.35 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003935/1.233, allocations: 138.2 kB / 0.6873 GB, free: 54.32 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: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.02182/1.255, allocations: 5.9 MB / 0.6931 GB, free: 49.68 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/1.255, allocations: 8.031 kB / 0.6931 GB, free: 49.67 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01292/1.268, allocations: 2.077 MB / 0.6951 GB, free: 47.58 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008987/1.277, allocations: 3.841 MB / 0.6988 GB, free: 43.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003803/1.277, allocations: 196 kB / 0.699 GB, free: 43.51 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002029/1.279, allocations: 351.5 kB / 0.6994 GB, free: 43.17 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01329/1.293, allocations: 6.757 MB / 0.706 GB, free: 36.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01949/1.312, allocations: 8.142 MB / 0.7139 GB, free: 28.05 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002533/1.313, allocations: 11.91 kB / 0.7139 GB, free: 28.04 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001501/1.314, allocations: 4 kB / 0.7139 GB, free: 28.04 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004629/1.315, allocations: 461.2 kB / 0.7144 GB, free: 27.58 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3353/1.65, allocations: 27.92 MB / 0.7416 GB, free: 59.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01322/1.663, allocations: 12.02 MB / 0.7534 GB, free: 49.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003027/1.666, allocations: 1.61 MB / 0.7549 GB, free: 49.57 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000341/1.667, allocations: 223.2 kB / 0.7552 GB, free: 49.38 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.84e-05/1.667, allocations: 63.25 kB / 0.7552 GB, free: 49.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=250): time 5.45e-06/1.667, allocations: 0 / 0.7552 GB, free: 49.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=250): time 0.007724/1.674, allocations: 3.436 MB / 0.7586 GB, free: 49.22 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/1.674, allocations: 104.3 kB / 0.7587 GB, free: 49.12 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00292/1.677, allocations: 1.585 MB / 0.7602 GB, free: 48.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001318/1.678, allocations: 25.7 kB / 0.7602 GB, free: 48.95 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001456/1.679, allocations: 2.526 MB / 0.7627 GB, free: 47.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006194/1.68, allocations: 0.8187 MB / 0.7635 GB, free: 47.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/1.68, allocations: 0 / 0.7635 GB, free: 47.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001981/1.68, allocations: 453.6 kB / 0.7639 GB, free: 47.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001783/1.682, allocations: 1.401 MB / 0.7653 GB, free: 47.08 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002389/1.684, allocations: 2.562 MB / 0.7678 GB, free: 45.69 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006396/1.691, allocations: 2.916 MB / 0.7707 GB, free: 45.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.91e-05/1.691, allocations: 14.94 kB / 0.7707 GB, free: 45.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=454) (initialization): time 0.009952/1.701, allocations: 5.182 MB / 0.7757 GB, free: 45.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.528e-05/1.701, allocations: 21.91 kB / 0.7758 GB, free: 45.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-05/1.701, allocations: 41.33 kB / 0.7758 GB, free: 45.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007172/1.701, allocations: 311.6 kB / 0.7761 GB, free: 45.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00251/1.704, allocations: 0.7887 MB / 0.7769 GB, free: 45.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004022/1.708, allocations: 4.455 MB / 0.7812 GB, free: 42.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00241/1.71, allocations: 356.9 kB / 0.7816 GB, free: 42.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003041/1.711, allocations: 176.2 kB / 0.7817 GB, free: 42.58 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (420): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000457/1.711, allocations: 212.6 kB / 0.7819 GB, free: 42.45 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000342/1.712, allocations: 208.2 kB / 0.7821 GB, free: 42.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008725/1.72, allocations: 3.942 MB / 0.786 GB, free: 42.15 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-05/1.72, allocations: 31.44 kB / 0.786 GB, free: 42.15 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/1.72, allocations: 7.188 kB / 0.786 GB, free: 42.15 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.403e-05/1.72, allocations: 12.42 kB / 0.786 GB, free: 42.15 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02465/1.745, allocations: 12.46 MB / 0.7982 GB, free: 38.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.04e-05/1.745, allocations: 13.59 kB / 0.7982 GB, free: 38.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002177/1.747, allocations: 451.2 kB / 0.7986 GB, free: 38.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008786/1.748, allocations: 267.4 kB / 0.7989 GB, free: 38.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004162/1.749, allocations: 35.7 kB / 0.7989 GB, free: 38.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005468/1.754, allocations: 4.37 MB / 0.8032 GB, free: 36.17 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.409e-05/1.754, allocations: 21.41 kB / 0.8032 GB, free: 36.17 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01198/1.766, allocations: 6.835 MB / 0.8099 GB, free: 33.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008851/1.767, allocations: 336.5 kB / 0.8102 GB, free: 33.56 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006557/1.768, allocations: 22.17 kB / 0.8102 GB, free: 33.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001833/1.77, allocations: 102.2 kB / 0.8103 GB, free: 33.55 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004031/1.77, allocations: 202.2 kB / 0.8105 GB, free: 33.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002335/1.77, allocations: 91.69 kB / 0.8106 GB, free: 33.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002286/1.773, allocations: 1.173 MB / 0.8118 GB, free: 33.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.11e-07/1.773, allocations: 0 / 0.8118 GB, free: 33.43 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004864/1.778, allocations: 1.353 MB / 0.8131 GB, free: 33.05 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (resistor2_1.pin_p.reference.gamma,currentSensorN.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (232): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006061/1.778, allocations: 205.5 kB / 0.8133 GB, free: 32.94 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00592/1.784, allocations: 3.585 MB / 0.8168 GB, free: 32.65 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/1.784, allocations: 8.562 kB / 0.8168 GB, free: 32.65 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002475/1.787, allocations: 1.704 MB / 0.8184 GB, free: 32.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002861/1.79, allocations: 410.3 kB / 0.8188 GB, free: 32.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01877/1.808, allocations: 8.212 MB / 0.8269 GB, free: 30.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006738/1.815, allocations: 4.1 MB / 0.8309 GB, free: 29.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004515/1.82, allocations: 1.22 MB / 0.8321 GB, free: 29.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008946/1.821, allocations: 187.1 kB / 0.8322 GB, free: 29.32 MB / 442.7 MB Notification: Performance of SimCode: time 1.333e-06/1.821, allocations: 0 / 0.8322 GB, free: 29.32 MB / 442.7 MB Notification: Performance of Templates: time 0.05493/1.876, allocations: 28.39 MB / 0.86 GB, free: 22.09 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches