Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001229/0.001229, allocations: 180.5 kB / 17.01 MB, free: 5.125 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.579/1.579, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.001093/0.001093, allocations: 96.09 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002694/0.0002694, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2658, allocations: 47.57 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1064/0.3723, allocations: 89.44 MB / 465.3 MB, free: 7.215 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.3725, allocations: 91.95 kB / 465.3 MB, free: 7.125 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8665/1.239, allocations: 218.6 MB / 0.6679 GB, free: 54.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.895e-06/1.239, allocations: 0.5625 kB / 0.6679 GB, free: 54.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.001251/1.24, allocations: 142.2 kB / 0.6681 GB, free: 54.4 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.0254/1.266, allocations: 6.362 MB / 0.6743 GB, free: 52.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/1.266, allocations: 9.406 kB / 0.6743 GB, free: 52.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02203/1.288, allocations: 3.538 MB / 0.6777 GB, free: 52.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0116/1.3, allocations: 3.946 MB / 0.6816 GB, free: 51.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007181/1.3, allocations: 0.4979 MB / 0.6821 GB, free: 51.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003294/1.304, allocations: 0.6316 MB / 0.6827 GB, free: 51.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02875/1.332, allocations: 10.87 MB / 0.6933 GB, free: 50.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003486/1.333, allocations: 13.55 kB / 0.6933 GB, free: 50.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002497/1.335, allocations: 276.1 kB / 0.6936 GB, free: 50.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005813/1.336, allocations: 467.8 kB / 0.694 GB, free: 50.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01923/1.355, allocations: 9.732 MB / 0.7035 GB, free: 50.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06007/1.415, allocations: 33.52 MB / 0.7363 GB, free: 35.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01089/1.426, allocations: 13.38 MB / 0.7493 GB, free: 23.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02504/1.451, allocations: 15.15 MB / 0.7641 GB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/1.451, allocations: 73.67 kB / 0.7642 GB, free: 10.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=482): time 7.213e-06/1.451, allocations: 3.938 kB / 0.7642 GB, free: 10.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=482): time 0.02875/1.48, allocations: 17.58 MB / 0.7814 GB, free: 9.879 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.44e-05/1.48, allocations: 118.9 kB / 0.7815 GB, free: 9.746 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003388/1.484, allocations: 1.564 MB / 0.783 GB, free: 8.426 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007633/1.484, allocations: 89.55 kB / 0.7831 GB, free: 8.336 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00187/1.486, allocations: 2.416 MB / 0.7855 GB, free: 6.195 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002426/1.489, allocations: 1.598 MB / 0.787 GB, free: 4.758 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008211/1.49, allocations: 88 kB / 0.7871 GB, free: 4.672 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006322/1.49, allocations: 0.5214 MB / 0.7876 GB, free: 4.207 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005854/1.496, allocations: 3.122 MB / 0.7907 GB, free: 1.547 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0118/1.508, allocations: 4.61 MB / 0.7952 GB, free: 14.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006837/1.515, allocations: 3.791 MB / 0.7989 GB, free: 11.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.196e-05/1.515, allocations: 11.28 kB / 0.7989 GB, free: 11.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.01858/1.533, allocations: 9.415 MB / 0.8081 GB, free: 2.926 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.924e-05/1.534, allocations: 16 kB / 0.8081 GB, free: 2.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.188e-05/1.534, allocations: 35.7 kB / 0.8081 GB, free: 2.879 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005157/1.539, allocations: 2.728 MB / 0.8108 GB, free: 412 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2393/1.778, allocations: 0.7616 MB / 0.8115 GB, free: 83.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008661/1.787, allocations: 9.689 MB / 0.821 GB, free: 78.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003689/1.791, allocations: 0.5063 MB / 0.8215 GB, free: 78.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004448/1.791, allocations: 211.1 kB / 0.8217 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.004135/1.795, allocations: 2.304 MB / 0.8239 GB, free: 78.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007123/1.796, allocations: 270.1 kB / 0.8242 GB, free: 78.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01219/1.808, allocations: 8.643 MB / 0.8326 GB, free: 78.45 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001691/1.808, allocations: 141.5 kB / 0.8328 GB, free: 78.45 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/1.808, allocations: 1.594 kB / 0.8328 GB, free: 78.45 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.083e-05/1.808, allocations: 18.69 kB / 0.8328 GB, free: 78.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/1.819, allocations: 7.053 MB / 0.8397 GB, free: 78.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.923e-05/1.819, allocations: 1.062 kB / 0.8397 GB, free: 78.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002084/1.821, allocations: 432.6 kB / 0.8401 GB, free: 78.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004911/1.826, allocations: 2.689 MB / 0.8427 GB, free: 78.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005428/1.827, allocations: 100 kB / 0.8428 GB, free: 78.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00796/1.835, allocations: 9.644 MB / 0.8522 GB, free: 73.51 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.835, allocations: 0 / 0.8522 GB, free: 73.51 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0165/1.851, allocations: 12.74 MB / 0.8647 GB, free: 71.19 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/1.852, allocations: 429.4 kB / 0.8651 GB, free: 70.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008289/1.853, allocations: 65.11 kB / 0.8651 GB, free: 70.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001996/1.855, allocations: 141.9 kB / 0.8653 GB, free: 70.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007219/1.856, allocations: 356.6 kB / 0.8656 GB, free: 70.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000363/1.856, allocations: 129 kB / 0.8657 GB, free: 70.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001987/1.858, allocations: 1.146 MB / 0.8669 GB, free: 70.31 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/1.858, allocations: 0 / 0.8669 GB, free: 70.31 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005407/1.864, allocations: 1.584 MB / 0.8684 GB, free: 70 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.0007898/1.865, allocations: 225.6 kB / 0.8686 GB, free: 69.87 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01364/1.878, allocations: 7.618 MB / 0.8761 GB, free: 67.05 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/1.878, allocations: 3.562 kB / 0.8761 GB, free: 67.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006903/1.885, allocations: 3.817 MB / 0.8798 GB, free: 65.56 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003473/1.889, allocations: 451.8 kB / 0.8802 GB, free: 65.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0286/1.917, allocations: 16.02 MB / 0.8959 GB, free: 57.43 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005831/1.923, allocations: 4.406 MB / 0.9002 GB, free: 55.75 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002929/1.926, allocations: 0.8785 MB / 0.901 GB, free: 55.65 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005389/1.927, allocations: 183.7 kB / 0.9012 GB, free: 55.63 MB / 442.7 MB Notification: Performance of SimCode: time 1.162e-06/1.927, allocations: 0 / 0.9012 GB, free: 55.63 MB / 442.7 MB Notification: Performance of Templates: time 0.09688/2.024, allocations: 72.68 MB / 0.9722 GB, free: 15.21 MB / 458.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/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_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches