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.001092/0.001092, allocations: 181.4 kB / 17.01 MB, free: 5.121 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.365/1.365, 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.0007911/0.0007909, allocations: 92.03 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002508/0.0002508, allocations: 4 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2379, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.317/0.555, allocations: 149 MB / 0.5126 GB, free: 107.4 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.5553, allocations: 110.8 kB / 0.5127 GB, free: 107.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7526/1.308, allocations: 232.3 MB / 0.7395 GB, free: 50.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.294e-06/1.308, allocations: 4.047 kB / 0.7395 GB, free: 50.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003838/1.308, allocations: 160.2 kB / 0.7397 GB, free: 50.5 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.02209/1.33, allocations: 7.271 MB / 0.7468 GB, free: 44.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/1.331, allocations: 11.98 kB / 0.7468 GB, free: 44.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01928/1.35, allocations: 3.677 MB / 0.7504 GB, free: 41.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01803/1.368, allocations: 5.955 MB / 0.7562 GB, free: 35.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000692/1.369, allocations: 0.5253 MB / 0.7567 GB, free: 34.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003219/1.372, allocations: 0.6871 MB / 0.7574 GB, free: 33.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03136/1.403, allocations: 11.44 MB / 0.7686 GB, free: 22.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003411/1.404, allocations: 23.83 kB / 0.7686 GB, free: 22.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00201/1.406, allocations: 307.2 kB / 0.7689 GB, free: 22.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006787/1.406, allocations: 486.5 kB / 0.7693 GB, free: 21.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02768/1.434, allocations: 10.66 MB / 0.7797 GB, free: 10.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2854/1.72, allocations: 38.31 MB / 0.8172 GB, free: 44.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0124/1.732, allocations: 18.47 MB / 0.8352 GB, free: 31.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02155/1.754, allocations: 13.7 MB / 0.8486 GB, free: 30.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/1.754, allocations: 74.39 kB / 0.8486 GB, free: 30.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=404): time 6.432e-06/1.754, allocations: 0 / 0.8486 GB, free: 30.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=420): time 0.03841/1.792, allocations: 22.48 MB / 0.8706 GB, free: 26.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001548/1.794, allocations: 1.971 MB / 0.8725 GB, free: 25.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003948/1.798, allocations: 2.971 MB / 0.8754 GB, free: 25.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004485/1.798, allocations: 87.7 kB / 0.8755 GB, free: 25.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001399/1.799, allocations: 3.148 MB / 0.8786 GB, free: 23.47 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009623/1.8, allocations: 1.416 MB / 0.88 GB, free: 22.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00027/1.801, allocations: 103.1 kB / 0.8801 GB, free: 22.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002228/1.801, allocations: 0.5257 MB / 0.8806 GB, free: 22.26 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003463/1.804, allocations: 2.902 MB / 0.8834 GB, free: 21.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004078/1.809, allocations: 4.9 MB / 0.8882 GB, free: 17.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004259/1.813, allocations: 3.79 MB / 0.8919 GB, free: 15.81 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.684e-05/1.813, allocations: 21.52 kB / 0.8919 GB, free: 15.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01155/1.824, allocations: 9.432 MB / 0.9011 GB, free: 12.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.305e-05/1.824, allocations: 33.94 kB / 0.9012 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-05/1.825, allocations: 65.38 kB / 0.9012 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004015/1.829, allocations: 2.484 MB / 0.9036 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003427/1.832, allocations: 1.062 MB / 0.9047 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005108/1.837, allocations: 5.414 MB / 0.91 GB, free: 8.406 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003423/1.841, allocations: 321.5 kB / 0.9103 GB, free: 8.289 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004895/1.841, allocations: 270.7 kB / 0.9105 GB, free: 8.242 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 297 * 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 (564): * Single equations (assignments): 542 * 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.003913/1.845, allocations: 2.498 MB / 0.913 GB, free: 7.008 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008331/1.846, allocations: 413.4 kB / 0.9134 GB, free: 6.793 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01059/1.856, allocations: 7.922 MB / 0.9211 GB, free: 3.348 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-05/1.857, allocations: 93.36 kB / 0.9212 GB, free: 3.305 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/1.857, allocations: 0 / 0.9212 GB, free: 3.305 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.851e-05/1.857, allocations: 24.16 kB / 0.9212 GB, free: 3.301 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03495/1.892, allocations: 19.78 MB / 0.9405 GB, free: 7.672 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.45e-05/1.892, allocations: 8 kB / 0.9405 GB, free: 7.664 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00241/1.894, allocations: 0.5412 MB / 0.9411 GB, free: 7.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004997/1.899, allocations: 2.448 MB / 0.9435 GB, free: 5.234 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005075/1.9, allocations: 94.59 kB / 0.9436 GB, free: 5.152 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008568/1.908, allocations: 7.197 MB / 0.9506 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001833/1.91, allocations: 1.903 MB / 0.9524 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01827/1.928, allocations: 12.41 MB / 0.9646 GB, free: 1.207 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003198/1.932, allocations: 1.085 MB / 0.9656 GB, free: 212 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001172/1.933, allocations: 71.75 kB / 0.9657 GB, free: 144 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002779/1.936, allocations: 207.5 kB / 0.9659 GB, free: 0 / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007409/1.936, allocations: 322.7 kB / 0.9662 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004056/1.937, allocations: 128.8 kB / 0.9663 GB, free: 15.68 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004463/1.941, allocations: 2.193 MB / 0.9685 GB, free: 13.86 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.941, allocations: 0 / 0.9685 GB, free: 13.86 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005736/1.947, allocations: 1.367 MB / 0.9698 GB, free: 12.5 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 (286): * Single equations (assignments): 264 * 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.001176/1.948, allocations: 0.6227 MB / 0.9704 GB, free: 12.03 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01263/1.961, allocations: 7.342 MB / 0.9776 GB, free: 5.738 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/1.961, allocations: 3.219 kB / 0.9776 GB, free: 5.738 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006779/1.968, allocations: 3.661 MB / 0.9811 GB, free: 2.52 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005466/1.973, allocations: 0.8861 MB / 0.982 GB, free: 1.828 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2405/2.214, allocations: 17.65 MB / 0.9993 GB, free: 98.67 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003844/2.218, allocations: 4.669 MB / 1.004 GB, free: 97.82 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003878/2.221, allocations: 1.172 MB / 1.005 GB, free: 97.78 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007635/2.222, allocations: 296 kB / 1.005 GB, free: 97.78 MB / 474.7 MB Notification: Performance of SimCode: time 1.132e-06/2.222, allocations: 0 / 1.005 GB, free: 97.78 MB / 474.7 MB Notification: Performance of Templates: time 0.1085/2.331, allocations: 81.83 MB / 1.085 GB, free: 71.97 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/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