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.00113/0.00113, allocations: 183.8 kB / 18.04 MB, free: 3.777 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.614/1.614, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.0008/0.0008001, allocations: 85.56 kB / 272.5 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002934/0.0002934, allocations: 19.98 kB / 329.5 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2091, allocations: 47.57 MB / 377.1 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.338/0.5472, allocations: 149.6 MB / 0.5143 GB, free: 106.7 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003755/0.5476, allocations: 105 kB / 0.5144 GB, free: 106.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8073/1.355, allocations: 230.6 MB / 0.7397 GB, free: 50.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.551e-06/1.355, allocations: 0 / 0.7397 GB, free: 50.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004798/1.355, allocations: 166.5 kB / 0.7398 GB, free: 50.34 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.0211/1.377, allocations: 7.191 MB / 0.7468 GB, free: 45.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/1.377, allocations: 11.98 kB / 0.7469 GB, free: 45.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01945/1.396, allocations: 3.677 MB / 0.7504 GB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01165/1.408, allocations: 5.378 MB / 0.7557 GB, free: 36.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004971/1.408, allocations: 0.5257 MB / 0.7562 GB, free: 35.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00234/1.411, allocations: 0.6987 MB / 0.7569 GB, free: 35.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02285/1.433, allocations: 11.49 MB / 0.7681 GB, free: 23.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003403/1.434, allocations: 11.91 kB / 0.7681 GB, free: 23.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001924/1.436, allocations: 303.7 kB / 0.7684 GB, free: 23.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004415/1.436, allocations: 490.5 kB / 0.7689 GB, free: 22.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01919/1.455, allocations: 10.66 MB / 0.7793 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2593/1.715, allocations: 38.35 MB / 0.8167 GB, free: 45.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01329/1.728, allocations: 18.46 MB / 0.8348 GB, free: 32.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006937/1.735, allocations: 4.253 MB / 0.8389 GB, free: 32.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02614/1.761, allocations: 13.66 MB / 0.8523 GB, free: 31.58 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.346e-05/1.761, allocations: 72.56 kB / 0.8523 GB, free: 31.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=399): time 8.937e-06/1.761, allocations: 2.406 kB / 0.8523 GB, free: 31.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=415): time 0.0459/1.807, allocations: 21.03 MB / 0.8729 GB, free: 29.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001635/1.809, allocations: 1.945 MB / 0.8748 GB, free: 28.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005804/1.815, allocations: 3.347 MB / 0.878 GB, free: 27.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006223/1.816, allocations: 84.64 kB / 0.8781 GB, free: 27.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001639/1.817, allocations: 3.15 MB / 0.8812 GB, free: 25.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001468/1.819, allocations: 1.412 MB / 0.8826 GB, free: 24.06 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003054/1.819, allocations: 107.1 kB / 0.8827 GB, free: 23.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002477/1.819, allocations: 0.5209 MB / 0.8832 GB, free: 23.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003765/1.823, allocations: 2.883 MB / 0.886 GB, free: 22.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004545/1.828, allocations: 4.92 MB / 0.8908 GB, free: 18.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008567/1.836, allocations: 8.34 MB / 0.899 GB, free: 13.19 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.766e-05/1.836, allocations: 21.53 kB / 0.899 GB, free: 13.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=717) (initialization): time 0.01245/1.849, allocations: 9.4 MB / 0.9082 GB, free: 9.492 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.374e-05/1.849, allocations: 35.66 kB / 0.9082 GB, free: 9.492 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001006/1.849, allocations: 66.84 kB / 0.9083 GB, free: 9.492 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004057/1.853, allocations: 2.475 MB / 0.9107 GB, free: 8.766 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003503/1.856, allocations: 1.053 MB / 0.9117 GB, free: 8.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005431/1.862, allocations: 5.421 MB / 0.917 GB, free: 5.785 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003944/1.866, allocations: 324 kB / 0.9173 GB, free: 5.664 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008106/1.867, allocations: 265.4 kB / 0.9176 GB, free: 5.621 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 299 * 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 (561): * Single equations (assignments): 539 * 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.004962/1.872, allocations: 2.501 MB / 0.92 GB, free: 4.383 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/1.873, allocations: 410.8 kB / 0.9204 GB, free: 4.172 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01255/1.885, allocations: 7.863 MB / 0.9281 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.803e-05/1.885, allocations: 87.7 kB / 0.9282 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.557e-05/1.885, allocations: 5.156 kB / 0.9282 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.036e-05/1.885, allocations: 24.14 kB / 0.9282 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03592/1.921, allocations: 19.55 MB / 0.9473 GB, free: 1.121 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.561e-05/1.921, allocations: 4 kB / 0.9473 GB, free: 1.117 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002369/1.924, allocations: 0.539 MB / 0.9478 GB, free: 0.707 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005199/1.929, allocations: 2.458 MB / 0.9502 GB, free: 14.72 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005672/1.93, allocations: 100.4 kB / 0.9503 GB, free: 14.63 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008651/1.938, allocations: 7.169 MB / 0.9573 GB, free: 7.965 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001811/1.94, allocations: 1.876 MB / 0.9591 GB, free: 6.035 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02157/1.962, allocations: 11.92 MB / 0.9708 GB, free: 12.09 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003509/1.965, allocations: 1.087 MB / 0.9718 GB, free: 11.09 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001462/1.967, allocations: 68 kB / 0.9719 GB, free: 11.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002911/1.97, allocations: 206.8 kB / 0.9721 GB, free: 10.88 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009027/1.971, allocations: 318.7 kB / 0.9724 GB, free: 10.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005066/1.971, allocations: 123.5 kB / 0.9725 GB, free: 10.57 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004734/1.976, allocations: 2.196 MB / 0.9747 GB, free: 8.738 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.71e-07/1.976, allocations: 0 / 0.9747 GB, free: 8.738 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006073/1.982, allocations: 1.371 MB / 0.976 GB, free: 7.379 MB / 474.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 () * Number of clocked 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,11 79} Notification: Performance of Backend phase and start with SimCode phase: time 0.001233/1.983, allocations: 0.5992 MB / 0.9766 GB, free: 6.914 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01262/1.996, allocations: 7.309 MB / 0.9837 GB, free: 496 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.996, allocations: 0.5 kB / 0.9837 GB, free: 496 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.214/2.21, allocations: 4.342 MB / 0.988 GB, free: 106.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008081/2.218, allocations: 0.9384 MB / 0.9889 GB, free: 106.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02235/2.24, allocations: 16.44 MB / 1.005 GB, free: 100 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004361/2.245, allocations: 4.549 MB / 1.009 GB, free: 99.18 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004295/2.249, allocations: 1.176 MB / 1.011 GB, free: 99.14 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009689/2.25, allocations: 297.7 kB / 1.011 GB, free: 99.14 MB / 474.7 MB Notification: Performance of SimCode: time 8.41e-07/2.25, allocations: 0 / 1.011 GB, free: 99.14 MB / 474.7 MB Notification: Performance of Templates: time 0.1141/2.364, allocations: 82.35 MB / 1.091 GB, free: 69.05 MB / 474.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/jenkins1/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