Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001428/0.001428, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 205.3 MB / 214.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008483/0.0008481, allocations: 78.72 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.484e-05/1.486e-05, allocations: 4 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08831/0.08834, allocations: 47.59 MB / 363.1 MB, free: 7.047 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4204/0.5088, allocations: 148.5 MB / 0.4996 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.5092, allocations: 103.4 kB / 0.4997 GB, free: 12.12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8619/1.371, allocations: 229.3 MB / 0.7236 GB, free: 40.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.425e-06/1.371, allocations: 0 / 0.7236 GB, free: 40.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004299/1.372, allocations: 159.9 kB / 0.7238 GB, free: 40.8 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: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.02083/1.392, allocations: 6.785 MB / 0.7304 GB, free: 38.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/1.392, allocations: 7.75 kB / 0.7304 GB, free: 38.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02122/1.414, allocations: 3.653 MB / 0.734 GB, free: 38.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01531/1.429, allocations: 5.923 MB / 0.7398 GB, free: 37.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003841/1.43, allocations: 234.1 kB / 0.74 GB, free: 37.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002345/1.432, allocations: 428.5 kB / 0.7404 GB, free: 37.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01732/1.449, allocations: 9.15 MB / 0.7493 GB, free: 37.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02812/1.477, allocations: 10.2 MB / 0.7593 GB, free: 36.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002431/1.478, allocations: 15.66 kB / 0.7593 GB, free: 36.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001045/1.479, allocations: 5.844 kB / 0.7593 GB, free: 36.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003912/1.479, allocations: 488.8 kB / 0.7598 GB, free: 36.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.061/1.54, allocations: 37.7 MB / 0.7966 GB, free: 18.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01366/1.554, allocations: 18.18 MB / 0.8143 GB, free: 2.582 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006821/1.561, allocations: 4.246 MB / 0.8185 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02447/1.585, allocations: 14.01 MB / 0.8322 GB, free: 3.066 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.564e-05/1.585, allocations: 73.28 kB / 0.8322 GB, free: 2.984 MB / 426.7 MB Notification: Performance of pre-optimization done (n=399): time 5.46e-06/1.585, allocations: 0 / 0.8322 GB, free: 2.984 MB / 426.7 MB Notification: Performance of matching and sorting (n=415): time 0.03573/1.621, allocations: 16.19 MB / 0.8481 GB, free: 5.031 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.125e-05/1.621, allocations: 88.31 kB / 0.8481 GB, free: 4.934 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004226/1.625, allocations: 2.445 MB / 0.8505 GB, free: 2.746 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006814/1.626, allocations: 29.7 kB / 0.8506 GB, free: 2.711 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2757/1.902, allocations: 3.163 MB / 0.8536 GB, free: 71.15 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00215/1.904, allocations: 1.353 MB / 0.855 GB, free: 71.01 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004546/1.904, allocations: 0 / 0.855 GB, free: 71.01 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004167/1.905, allocations: 0.5243 MB / 0.8555 GB, free: 70.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004437/1.909, allocations: 2.882 MB / 0.8583 GB, free: 70.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005274/1.915, allocations: 4.845 MB / 0.863 GB, free: 68.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007718/1.922, allocations: 4.489 MB / 0.8674 GB, free: 68.22 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001048/1.923, allocations: 18.28 kB / 0.8674 GB, free: 68.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=716) (initialization): time 0.01953/1.942, allocations: 9.648 MB / 0.8768 GB, free: 67.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.021e-05/1.942, allocations: 38.83 kB / 0.8769 GB, free: 67.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001285/1.942, allocations: 62.97 kB / 0.8769 GB, free: 67.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004267/1.947, allocations: 2.454 MB / 0.8793 GB, free: 67.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004172/1.951, allocations: 1.089 MB / 0.8804 GB, free: 67.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005843/1.957, allocations: 5.545 MB / 0.8858 GB, free: 66.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00457/1.961, allocations: 252.3 kB / 0.8861 GB, free: 66.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008897/1.962, allocations: 268.7 kB / 0.8863 GB, free: 66.7 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: resistorQS.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistorQS.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistorQS.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistorQS.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistorQS.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: starQS.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (560): * Single equations (assignments): 538 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {6 9,11 79} Notification: Performance of prepare postOptimizeDAE: time 0.001038/1.963, allocations: 328.4 kB / 0.8866 GB, free: 66.59 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008193/1.964, allocations: 383.6 kB / 0.887 GB, free: 66.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01269/1.977, allocations: 8.414 MB / 0.8952 GB, free: 66.15 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.332e-05/1.977, allocations: 101.4 kB / 0.8953 GB, free: 66.15 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/1.977, allocations: 2 kB / 0.8953 GB, free: 66.15 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.355e-05/1.977, allocations: 18.8 kB / 0.8953 GB, free: 66.15 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02799/2.005, allocations: 19.42 MB / 0.9143 GB, free: 63.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.098e-05/2.005, allocations: 10.06 kB / 0.9143 GB, free: 63.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002375/2.007, allocations: 0.5612 MB / 0.9149 GB, free: 63.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004183/2.012, allocations: 2.412 MB / 0.9172 GB, free: 62.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006021/2.012, allocations: 51.98 kB / 0.9173 GB, free: 62.85 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006725/2.019, allocations: 7.228 MB / 0.9243 GB, free: 58.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001275/2.02, allocations: 1.795 MB / 0.9261 GB, free: 56.76 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01712/2.037, allocations: 13.03 MB / 0.9388 GB, free: 50.42 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002687/2.04, allocations: 1.071 MB / 0.9398 GB, free: 49.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009/2.041, allocations: 16.89 kB / 0.9399 GB, free: 49.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002455/2.044, allocations: 173.7 kB / 0.94 GB, free: 49.79 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000538/2.044, allocations: 317.7 kB / 0.9403 GB, free: 49.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002729/2.044, allocations: 121 kB / 0.9404 GB, free: 49.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002821/2.047, allocations: 1.743 MB / 0.9421 GB, free: 48.96 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.7e-07/2.047, allocations: 2.438 kB / 0.9421 GB, free: 48.96 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005874/2.053, allocations: 1.204 MB / 0.9433 GB, free: 48.94 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (281): * Single equations (assignments): 259 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 3,6 9,10 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.001177/2.054, allocations: 0.5304 MB / 0.9438 GB, free: 48.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01097/2.065, allocations: 7.217 MB / 0.9509 GB, free: 45.99 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/2.065, allocations: 5.281 kB / 0.9509 GB, free: 45.99 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005701/2.071, allocations: 3.636 MB / 0.9544 GB, free: 43.01 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004232/2.075, allocations: 0.6903 MB / 0.9551 GB, free: 42.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02268/2.098, allocations: 12.23 MB / 0.9671 GB, free: 31.53 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004192/2.102, allocations: 4.663 MB / 0.9716 GB, free: 27.96 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004131/2.106, allocations: 1.151 MB / 0.9727 GB, free: 27.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009515/2.107, allocations: 278.2 kB / 0.973 GB, free: 26.91 MB / 442.7 MB Notification: Performance of SimCode: time 1.283e-06/2.107, allocations: 0 / 0.973 GB, free: 26.91 MB / 442.7 MB Notification: Performance of Templates: time 0.3355/2.443, allocations: 68.94 MB / 1.04 GB, free: 76.62 MB / 458.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches