Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 108.6 kB / 17.69 MB, free: 5.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 191 kB / 18.63 MB, free: 4.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009406/0.0009409, allocations: 51.45 kB / 302.1 MB, free: 5.148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09623/0.09719, allocations: 49.45 MB / 351.5 MB, free: 3.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.2228/0.32, allocations: 30.33 MB / 381.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01611/0.3362, allocations: 8.649 MB / 390.5 MB, free: 6.227 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005849/0.3421, allocations: 183 kB / 390.7 MB, free: 6.195 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01075/0.3529, allocations: 4.912 MB / 395.6 MB, free: 3.324 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009503/0.3624, allocations: 2.968 MB / 398.6 MB, free: 1.387 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00432/0.3667, allocations: 1.609 MB / 400.2 MB, free: 96 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01067/0.3774, allocations: 8.701 MB / 408.9 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01392/0.3913, allocations: 12.85 MB / 421.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005555/0.3969, allocations: 4.218 MB / 426 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005439/0.4024, allocations: 4.734 MB / 430.7 MB, free: 6.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001509/0.4039, allocations: 1.16 MB / 431.8 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002718/0.4066, allocations: 1.531 MB / 433.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001794/0.4084, allocations: 2.408 MB / 435.8 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004929/0.4134, allocations: 4.673 MB / 440.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01355/0.4269, allocations: 15.79 MB / 456.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/0.4269, allocations: 4 kB / 456.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.427, allocations: 3.984 kB / 456.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002975/0.4273, allocations: 0 / 456.3 MB, free: 12.62 MB / 366.1 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.02537/0.4526, allocations: 9.743 MB / 466 MB, free: 2.785 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.4527, allocations: 12.03 kB / 466 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02734/0.48, allocations: 5.263 MB / 471.3 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01089/0.491, allocations: 5.108 MB / 476.4 MB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004174/0.4914, allocations: 0.5299 MB / 476.9 MB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002273/0.4937, allocations: 0.7068 MB / 477.6 MB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02355/0.5173, allocations: 11.32 MB / 488.9 MB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002139/0.5175, allocations: 15.84 kB / 489 MB, free: 11.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001062/0.5186, allocations: 300 kB / 489.3 MB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003928/0.519, allocations: 446.9 kB / 489.7 MB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01917/0.5382, allocations: 10.84 MB / 0.4888 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2407/0.7789, allocations: 37.58 MB / 0.5255 GB, free: 109.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01654/0.7955, allocations: 28.1 MB / 0.5529 GB, free: 83.74 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004198/0.7997, allocations: 2.649 MB / 0.5555 GB, free: 83.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01225/0.812, allocations: 7.891 MB / 0.5632 GB, free: 81.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.8121, allocations: 68.03 kB / 0.5633 GB, free: 81.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=217): time 4.168e-06/0.8121, allocations: 0 / 0.5633 GB, free: 81.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=233): time 0.01643/0.8285, allocations: 10.35 MB / 0.5734 GB, free: 76.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001449/0.83, allocations: 1.998 MB / 0.5754 GB, free: 75.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004749/0.8348, allocations: 3.828 MB / 0.5791 GB, free: 73.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003273/0.8351, allocations: 65.08 kB / 0.5792 GB, free: 73.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001444/0.8366, allocations: 3.55 MB / 0.5826 GB, free: 70.92 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005677/0.8371, allocations: 0.8333 MB / 0.5834 GB, free: 70.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/0.8382, allocations: 0.9518 MB / 0.5844 GB, free: 69.81 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.754e-05/0.8382, allocations: 309 kB / 0.5847 GB, free: 69.51 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002055/0.8403, allocations: 1.894 MB / 0.5865 GB, free: 68.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002865/0.8431, allocations: 4.387 MB / 0.5908 GB, free: 64.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005135/0.8483, allocations: 6.784 MB / 0.5974 GB, free: 58.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.78e-05/0.8483, allocations: 27.69 kB / 0.5974 GB, free: 58.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.008752/0.8571, allocations: 6.99 MB / 0.6043 GB, free: 53.76 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.907e-05/0.8572, allocations: 42.66 kB / 0.6043 GB, free: 53.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-05/0.8572, allocations: 91.94 kB / 0.6044 GB, free: 53.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001582/0.8588, allocations: 0.7328 MB / 0.6051 GB, free: 52.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002833/0.8617, allocations: 1.127 MB / 0.6062 GB, free: 51.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005297/0.867, allocations: 5.636 MB / 0.6117 GB, free: 45.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003287/0.8703, allocations: 311.1 kB / 0.612 GB, free: 45.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003347/0.8706, allocations: 276 kB / 0.6123 GB, free: 45.41 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 393 * 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 (590): * Single equations (assignments): 587 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003066/0.8737, allocations: 2.522 MB / 0.6147 GB, free: 42.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006423/0.8744, allocations: 379.3 kB / 0.6151 GB, free: 42.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005487/0.8798, allocations: 4.276 MB / 0.6193 GB, free: 38.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.8799, allocations: 24 kB / 0.6193 GB, free: 38.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.8799, allocations: 4 kB / 0.6193 GB, free: 38.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.719e-05/0.8799, allocations: 15.89 kB / 0.6193 GB, free: 38.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01632/0.8962, allocations: 14.28 MB / 0.6333 GB, free: 23.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/0.8963, allocations: 15.69 kB / 0.6333 GB, free: 23.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/0.8978, allocations: 483.2 kB / 0.6337 GB, free: 23.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001594/0.8994, allocations: 0.6814 MB / 0.6344 GB, free: 22.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001403/0.8996, allocations: 75.97 kB / 0.6345 GB, free: 22.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006531/0.9061, allocations: 7.491 MB / 0.6418 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001193/0.9073, allocations: 1.945 MB / 0.6437 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00739/0.9147, allocations: 6.744 MB / 0.6503 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001777/0.9165, allocations: 0.7928 MB / 0.6511 GB, free: 4.742 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004162/0.917, allocations: 68.92 kB / 0.6511 GB, free: 4.676 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001545/0.9185, allocations: 163.8 kB / 0.6513 GB, free: 4.516 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003687/0.9189, allocations: 209.5 kB / 0.6515 GB, free: 4.309 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001469/0.919, allocations: 95.98 kB / 0.6516 GB, free: 4.215 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002928/0.922, allocations: 2.513 MB / 0.654 GB, free: 1.723 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.22e-07/0.922, allocations: 0 / 0.654 GB, free: 1.723 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003677/0.9257, allocations: 1.289 MB / 0.6553 GB, free: 444 kB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * 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 (241): * Single equations (assignments): 238 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003499/0.926, allocations: 238 kB / 0.6555 GB, free: 200 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006753/0.9328, allocations: 5.163 MB / 0.6606 GB, free: 10.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.9328, allocations: 0 / 0.6606 GB, free: 10.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003133/0.9359, allocations: 2.416 MB / 0.6629 GB, free: 8.543 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00359/0.9395, allocations: 0.9913 MB / 0.6639 GB, free: 7.586 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02013/0.9597, allocations: 12.31 MB / 0.6759 GB, free: 11.09 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003888/0.9636, allocations: 4.504 MB / 0.6803 GB, free: 6.547 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00358/0.9672, allocations: 1.356 MB / 0.6816 GB, free: 5.188 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007428/0.968, allocations: 295.4 kB / 0.6819 GB, free: 4.898 MB / 462.1 MB Notification: Performance of SimCode: time 7.62e-07/0.968, allocations: 0 / 0.6819 GB, free: 4.898 MB / 462.1 MB Notification: Performance of Templates: time 1.674/2.642, allocations: 51.42 MB / 0.7321 GB, free: 121.2 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches