Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.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.QuasiStationary.MultiPhase.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_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.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_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001839/0.001839, allocations: 181.2 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.939/2.939, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.001279/0.001279, allocations: 78.42 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000587/0.0005872, allocations: 8 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5768/0.5774, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2171/0.7946, allocations: 89.57 MB / 465.3 MB, free: 7.043 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004732/0.7952, allocations: 91.95 kB / 465.4 MB, free: 6.953 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.594/2.39, allocations: 216.7 MB / 0.6661 GB, free: 54.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.601e-06/2.39, allocations: 0 / 0.6661 GB, free: 54.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000582/2.39, allocations: 142.4 kB / 0.6662 GB, free: 54.04 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.05095/2.441, allocations: 6.3 MB / 0.6724 GB, free: 52.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001088/2.441, allocations: 10.94 kB / 0.6724 GB, free: 52.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04693/2.488, allocations: 3.53 MB / 0.6758 GB, free: 51.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02684/2.515, allocations: 3.996 MB / 0.6797 GB, free: 51.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002479/2.518, allocations: 0.4896 MB / 0.6802 GB, free: 51.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007491/2.525, allocations: 0.6259 MB / 0.6808 GB, free: 51.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07058/2.596, allocations: 10.93 MB / 0.6915 GB, free: 50.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007416/2.597, allocations: 10.94 kB / 0.6915 GB, free: 50.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006591/2.604, allocations: 279 kB / 0.6918 GB, free: 50.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001354/2.605, allocations: 467.8 kB / 0.6922 GB, free: 50.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04429/2.649, allocations: 9.735 MB / 0.7017 GB, free: 50.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1265/2.776, allocations: 33.56 MB / 0.7345 GB, free: 36.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02101/2.797, allocations: 13.38 MB / 0.7476 GB, free: 24.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01495/2.812, allocations: 4.822 MB / 0.7523 GB, free: 20.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05213/2.864, allocations: 15.17 MB / 0.7671 GB, free: 7.254 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.744e-05/2.865, allocations: 81.81 kB / 0.7672 GB, free: 7.172 MB / 410.7 MB Notification: Performance of pre-optimization done (n=480): time 1.455e-05/2.865, allocations: 5.578 kB / 0.7672 GB, free: 7.172 MB / 410.7 MB Notification: Performance of matching and sorting (n=480): time 0.0541/2.919, allocations: 13.36 MB / 0.7802 GB, free: 11.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/2.919, allocations: 116.4 kB / 0.7803 GB, free: 11.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006186/2.925, allocations: 1.74 MB / 0.782 GB, free: 10.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001897/2.927, allocations: 81.7 kB / 0.7821 GB, free: 10.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003675/2.931, allocations: 2.421 MB / 0.7845 GB, free: 7.879 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005447/2.936, allocations: 1.585 MB / 0.786 GB, free: 6.449 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002357/2.939, allocations: 91.75 kB / 0.7861 GB, free: 6.363 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001291/2.94, allocations: 0.5113 MB / 0.7866 GB, free: 5.906 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01264/2.953, allocations: 3.116 MB / 0.7896 GB, free: 3.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01348/2.966, allocations: 4.183 MB / 0.7937 GB, free: 15.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02326/2.99, allocations: 7.549 MB / 0.8011 GB, free: 8.059 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001169/2.99, allocations: 8 kB / 0.8011 GB, free: 8.051 MB / 442.7 MB Notification: Performance of matching and sorting (n=674) (initialization): time 0.5294/3.519, allocations: 9.391 MB / 0.8103 GB, free: 80.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.84e-05/3.52, allocations: 14.5 kB / 0.8103 GB, free: 80.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001535/3.52, allocations: 30.62 kB / 0.8103 GB, free: 80.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009672/3.529, allocations: 2.72 MB / 0.813 GB, free: 80.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007008/3.537, allocations: 0.7544 MB / 0.8137 GB, free: 80.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01885/3.555, allocations: 9.691 MB / 0.8232 GB, free: 75.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007727/3.563, allocations: 0.5035 MB / 0.8237 GB, free: 75.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002131/3.566, allocations: 211.3 kB / 0.8239 GB, free: 75.83 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 132 * 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 (432): * Single equations (assignments): 374 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 6 {6 9,6 9,6 51,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.01349/3.579, allocations: 2.315 MB / 0.8261 GB, free: 75.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002639/3.582, allocations: 260.2 kB / 0.8264 GB, free: 75.65 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03177/3.614, allocations: 8.608 MB / 0.8348 GB, free: 75.39 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000656/3.614, allocations: 142.4 kB / 0.8349 GB, free: 75.39 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.138e-05/3.614, allocations: 7.594 kB / 0.8349 GB, free: 75.39 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001324/3.615, allocations: 17.72 kB / 0.8349 GB, free: 75.39 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0318/3.646, allocations: 7.038 MB / 0.8418 GB, free: 75.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001762/3.647, allocations: 1.062 kB / 0.8418 GB, free: 75.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004363/3.651, allocations: 432 kB / 0.8422 GB, free: 75.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009635/3.661, allocations: 2.691 MB / 0.8449 GB, free: 74.96 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001657/3.662, allocations: 101.3 kB / 0.845 GB, free: 74.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01678/3.679, allocations: 9.62 MB / 0.8543 GB, free: 70.45 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/3.679, allocations: 2.938 kB / 0.8543 GB, free: 70.45 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04393/3.723, allocations: 12.7 MB / 0.8667 GB, free: 68.22 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002051/3.725, allocations: 438.3 kB / 0.8672 GB, free: 67.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002618/3.728, allocations: 66.16 kB / 0.8672 GB, free: 67.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005282/3.733, allocations: 134.5 kB / 0.8674 GB, free: 67.87 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002401/3.736, allocations: 366.6 kB / 0.8677 GB, free: 67.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001387/3.737, allocations: 126.6 kB / 0.8678 GB, free: 67.77 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003525/3.741, allocations: 1.144 MB / 0.8689 GB, free: 67.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/3.741, allocations: 0 / 0.8689 GB, free: 67.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01217/3.753, allocations: 1.581 MB / 0.8705 GB, free: 67.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 6 {6 9,6 9,6 51,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.002381/3.755, allocations: 222.9 kB / 0.8707 GB, free: 66.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0295/3.785, allocations: 7.595 MB / 0.8781 GB, free: 64.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/3.785, allocations: 2.031 kB / 0.8781 GB, free: 64.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01494/3.8, allocations: 3.813 MB / 0.8818 GB, free: 62.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009761/3.81, allocations: 493.6 kB / 0.8823 GB, free: 62.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04867/3.859, allocations: 15.28 MB / 0.8972 GB, free: 54.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01311/3.872, allocations: 4.187 MB / 0.9013 GB, free: 52.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002676/3.875, allocations: 228 kB / 0.9015 GB, free: 52.93 MB / 442.7 MB Notification: Performance of SimCode: time 2.435e-06/3.875, allocations: 0 / 0.9015 GB, free: 52.93 MB / 442.7 MB Notification: Performance of Templates: time 0.7902/4.665, allocations: 319.1 MB / 1.213 GB, free: 98.76 MB / 474.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches