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.001453/0.001453, allocations: 184.8 kB / 16.41 MB, free: 5.727 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.878/1.878, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001099/0.001099, allocations: 95.39 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003751, allocations: 8 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.326, allocations: 47.56 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1385/0.4645, allocations: 89.44 MB / 464 MB, free: 7.316 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/0.4649, allocations: 91.95 kB / 464.1 MB, free: 7.227 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.187/1.651, allocations: 218.6 MB / 0.6667 GB, free: 54.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.705e-06/1.652, allocations: 0 / 0.6667 GB, free: 54.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003702/1.652, allocations: 146.6 kB / 0.6668 GB, free: 54.74 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.02893/1.681, allocations: 6.357 MB / 0.673 GB, free: 52.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/1.681, allocations: 9.094 kB / 0.673 GB, free: 52.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0322/1.713, allocations: 3.538 MB / 0.6765 GB, free: 52.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01227/1.725, allocations: 3.948 MB / 0.6804 GB, free: 51.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007114/1.726, allocations: 0.4905 MB / 0.6808 GB, free: 51.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00294/1.729, allocations: 0.6333 MB / 0.6815 GB, free: 51.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03106/1.76, allocations: 10.88 MB / 0.6921 GB, free: 51.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002869/1.761, allocations: 3.719 kB / 0.6921 GB, free: 51.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001627/1.762, allocations: 282 kB / 0.6924 GB, free: 51.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005908/1.763, allocations: 475.4 kB / 0.6928 GB, free: 51.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02665/1.789, allocations: 9.732 MB / 0.7023 GB, free: 50.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08789/1.877, allocations: 33.51 MB / 0.735 GB, free: 36.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02013/1.898, allocations: 13.38 MB / 0.7481 GB, free: 23.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03709/1.935, allocations: 15.16 MB / 0.7629 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.095e-05/1.935, allocations: 78.98 kB / 0.763 GB, free: 10.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=482): time 9.548e-06/1.935, allocations: 0 / 0.763 GB, free: 10.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=482): time 0.04378/1.979, allocations: 17.57 MB / 0.7801 GB, free: 10.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.74e-05/1.979, allocations: 123.8 kB / 0.7803 GB, free: 10.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003553/1.982, allocations: 1.565 MB / 0.7818 GB, free: 8.699 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009125/1.983, allocations: 85.7 kB / 0.7819 GB, free: 8.609 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00196/1.985, allocations: 2.4 MB / 0.7842 GB, free: 6.469 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002717/1.988, allocations: 1.6 MB / 0.7858 GB, free: 5.023 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006922/1.989, allocations: 84 kB / 0.7859 GB, free: 4.941 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000481/1.989, allocations: 0.5276 MB / 0.7864 GB, free: 4.469 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008365/1.998, allocations: 3.115 MB / 0.7894 GB, free: 1.812 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01526/2.013, allocations: 4.515 MB / 0.7938 GB, free: 14.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01009/2.023, allocations: 3.79 MB / 0.7975 GB, free: 11.24 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-05/2.023, allocations: 8 kB / 0.7975 GB, free: 11.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.026/2.049, allocations: 9.347 MB / 0.8067 GB, free: 3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.272e-05/2.049, allocations: 20 kB / 0.8067 GB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-05/2.049, allocations: 28 kB / 0.8067 GB, free: 2.953 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008406/2.058, allocations: 2.732 MB / 0.8094 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3015/2.359, allocations: 0.7575 MB / 0.8101 GB, free: 83.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01326/2.373, allocations: 9.691 MB / 0.8196 GB, free: 78.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004951/2.378, allocations: 0.5084 MB / 0.8201 GB, free: 78.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007494/2.378, allocations: 211.5 kB / 0.8203 GB, free: 78.95 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 (436): * Single equations (assignments): 378 * 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.0059/2.384, allocations: 2.303 MB / 0.8225 GB, free: 78.83 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009834/2.385, allocations: 274.4 kB / 0.8228 GB, free: 78.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02178/2.407, allocations: 8.635 MB / 0.8312 GB, free: 78.45 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002888/2.408, allocations: 144.2 kB / 0.8314 GB, free: 78.45 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.057e-05/2.408, allocations: 1.594 kB / 0.8314 GB, free: 78.45 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-05/2.408, allocations: 24.08 kB / 0.8314 GB, free: 78.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01709/2.425, allocations: 7.05 MB / 0.8383 GB, free: 78.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.966e-05/2.425, allocations: 0 / 0.8383 GB, free: 78.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00418/2.429, allocations: 430.4 kB / 0.8387 GB, free: 78.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00804/2.437, allocations: 2.69 MB / 0.8413 GB, free: 78.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009325/2.438, allocations: 97.59 kB / 0.8414 GB, free: 78.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0138/2.452, allocations: 9.649 MB / 0.8508 GB, free: 73.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/2.452, allocations: 0 / 0.8508 GB, free: 73.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03299/2.485, allocations: 12.73 MB / 0.8633 GB, free: 71.21 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/2.486, allocations: 433.7 kB / 0.8637 GB, free: 70.95 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001644/2.488, allocations: 65.48 kB / 0.8637 GB, free: 70.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003868/2.492, allocations: 135.4 kB / 0.8639 GB, free: 70.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001772/2.494, allocations: 357.7 kB / 0.8642 GB, free: 70.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001034/2.495, allocations: 128.2 kB / 0.8643 GB, free: 70.76 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002769/2.498, allocations: 1.153 MB / 0.8654 GB, free: 70.33 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.82e-07/2.498, allocations: 0 / 0.8654 GB, free: 70.33 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007483/2.505, allocations: 1.583 MB / 0.867 GB, free: 70.03 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 (253): * Single equations (assignments): 195 * 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.001574/2.507, allocations: 220.5 kB / 0.8672 GB, free: 69.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02559/2.532, allocations: 7.623 MB / 0.8746 GB, free: 67.07 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/2.532, allocations: 0 / 0.8746 GB, free: 67.07 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01052/2.543, allocations: 3.819 MB / 0.8784 GB, free: 65.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004493/2.548, allocations: 449.4 kB / 0.8788 GB, free: 65.46 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03577/2.583, allocations: 15.89 MB / 0.8943 GB, free: 57.54 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006003/2.589, allocations: 4.287 MB / 0.8985 GB, free: 55.89 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001771/2.591, allocations: 230.9 kB / 0.8987 GB, free: 55.86 MB / 442.7 MB Notification: Performance of SimCode: time 1.193e-06/2.591, allocations: 0 / 0.8987 GB, free: 55.86 MB / 442.7 MB Notification: Performance of Templates: time 1.075/3.667, allocations: 303.7 MB / 1.195 GB, free: 105.9 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