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.001411/0.001411, allocations: 179.4 kB / 18.04 MB, free: 3.656 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.316/1.316, allocations: 205.4 MB / 224.2 MB, free: 8.914 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.000744/0.000744, allocations: 85.03 kB / 272.5 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003188, allocations: 16 kB / 329.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1847, allocations: 47.56 MB / 377 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09196/0.2767, allocations: 89.57 MB / 466.6 MB, free: 6.941 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.277, allocations: 87.95 kB / 466.7 MB, free: 6.855 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7008/0.9777, allocations: 216.7 MB / 0.6673 GB, free: 54.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.9778, allocations: 2.625 kB / 0.6673 GB, free: 54.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003386/0.9781, allocations: 139.5 kB / 0.6675 GB, free: 54.17 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.01819/0.9963, allocations: 6.292 MB / 0.6736 GB, free: 52.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.9964, allocations: 10.25 kB / 0.6736 GB, free: 52.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02032/1.017, allocations: 3.543 MB / 0.6771 GB, free: 51.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00854/1.025, allocations: 3.991 MB / 0.681 GB, free: 51.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005124/1.026, allocations: 0.4891 MB / 0.6815 GB, free: 51.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002005/1.028, allocations: 0.6271 MB / 0.6821 GB, free: 51.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02087/1.049, allocations: 10.93 MB / 0.6928 GB, free: 50.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002134/1.049, allocations: 8.375 kB / 0.6928 GB, free: 50.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001392/1.05, allocations: 284.2 kB / 0.693 GB, free: 50.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000432/1.051, allocations: 467.5 kB / 0.6935 GB, free: 50.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01572/1.067, allocations: 9.734 MB / 0.703 GB, free: 50.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04967/1.116, allocations: 33.56 MB / 0.7358 GB, free: 36.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01048/1.127, allocations: 13.38 MB / 0.7488 GB, free: 24.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005937/1.133, allocations: 4.82 MB / 0.7535 GB, free: 20.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02042/1.153, allocations: 15.18 MB / 0.7684 GB, free: 7.172 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/1.153, allocations: 75.09 kB / 0.7684 GB, free: 7.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=480): time 7.384e-06/1.153, allocations: 0 / 0.7684 GB, free: 7.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=480): time 0.02239/1.176, allocations: 13.34 MB / 0.7815 GB, free: 11.58 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/1.176, allocations: 120.9 kB / 0.7816 GB, free: 11.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002557/1.178, allocations: 1.744 MB / 0.7833 GB, free: 9.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003838/1.179, allocations: 81.7 kB / 0.7834 GB, free: 9.895 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001383/1.18, allocations: 2.415 MB / 0.7857 GB, free: 7.758 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001503/1.182, allocations: 1.588 MB / 0.7873 GB, free: 6.328 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004168/1.182, allocations: 88 kB / 0.7873 GB, free: 6.242 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003628/1.182, allocations: 0.512 MB / 0.7878 GB, free: 5.785 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004712/1.187, allocations: 3.118 MB / 0.7909 GB, free: 3.129 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005527/1.193, allocations: 4.179 MB / 0.795 GB, free: 15.08 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/1.203, allocations: 7.546 MB / 0.8023 GB, free: 7.934 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.793e-05/1.203, allocations: 8 kB / 0.8023 GB, free: 7.926 MB / 442.7 MB Notification: Performance of matching and sorting (n=674) (initialization): time 0.1903/1.394, allocations: 9.447 MB / 0.8116 GB, free: 80.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/1.394, allocations: 23.75 kB / 0.8116 GB, free: 80.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.106e-05/1.394, allocations: 28.34 kB / 0.8116 GB, free: 80.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004105/1.398, allocations: 2.725 MB / 0.8143 GB, free: 80.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002978/1.401, allocations: 0.752 MB / 0.815 GB, free: 80.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007296/1.408, allocations: 9.675 MB / 0.8245 GB, free: 75.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002784/1.411, allocations: 0.5092 MB / 0.825 GB, free: 75.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003846/1.411, allocations: 212.3 kB / 0.8252 GB, free: 75.79 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.003337/1.415, allocations: 2.309 MB / 0.8274 GB, free: 75.67 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004714/1.415, allocations: 266 kB / 0.8277 GB, free: 75.61 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01082/1.426, allocations: 8.612 MB / 0.8361 GB, free: 75.35 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001346/1.426, allocations: 143.8 kB / 0.8362 GB, free: 75.35 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/1.426, allocations: 0.9375 kB / 0.8362 GB, free: 75.35 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.878e-05/1.426, allocations: 19.73 kB / 0.8362 GB, free: 75.35 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008936/1.435, allocations: 7.045 MB / 0.8431 GB, free: 75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.123e-05/1.435, allocations: 0 / 0.8431 GB, free: 75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/1.437, allocations: 432.8 kB / 0.8435 GB, free: 75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003968/1.441, allocations: 2.685 MB / 0.8462 GB, free: 74.92 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003239/1.441, allocations: 105.6 kB / 0.8463 GB, free: 74.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007198/1.448, allocations: 9.624 MB / 0.8557 GB, free: 70.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.449, allocations: 0 / 0.8557 GB, free: 70.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0147/1.463, allocations: 12.7 MB / 0.8681 GB, free: 68.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007669/1.464, allocations: 430.7 kB / 0.8685 GB, free: 67.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004714/1.464, allocations: 68.22 kB / 0.8685 GB, free: 67.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/1.466, allocations: 132 kB / 0.8687 GB, free: 67.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006481/1.467, allocations: 362.9 kB / 0.869 GB, free: 67.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000264/1.467, allocations: 128.4 kB / 0.8691 GB, free: 67.78 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001373/1.468, allocations: 1.141 MB / 0.8702 GB, free: 67.36 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/1.468, allocations: 0 / 0.8702 GB, free: 67.36 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003794/1.472, allocations: 1.585 MB / 0.8718 GB, free: 67.05 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.0004975/1.473, allocations: 221 kB / 0.872 GB, free: 66.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009956/1.483, allocations: 7.603 MB / 0.8794 GB, free: 64.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/1.483, allocations: 3.344 kB / 0.8794 GB, free: 64.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005091/1.488, allocations: 3.81 MB / 0.8831 GB, free: 62.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002775/1.49, allocations: 490.1 kB / 0.8836 GB, free: 62.45 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01847/1.509, allocations: 15.41 MB / 0.8987 GB, free: 54.53 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003639/1.513, allocations: 4.305 MB / 0.9029 GB, free: 52.86 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002898/1.516, allocations: 0.8721 MB / 0.9037 GB, free: 52.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005516/1.516, allocations: 186.4 kB / 0.9039 GB, free: 52.73 MB / 442.7 MB Notification: Performance of SimCode: time 2.675e-06/1.516, allocations: 0 / 0.9039 GB, free: 52.73 MB / 442.7 MB Notification: Performance of Templates: time 0.08944/1.606, allocations: 72.79 MB / 0.975 GB, free: 11.89 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/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_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches