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/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 3.2.3+maint.om/package.mo", uses=false) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 109.4 kB / 18.34 MB, free: 4.699 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.001627/0.001627, allocations: 192.1 kB / 19.28 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 47.94 kB / 282.1 MB, free: 2.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0844/0.08563, allocations: 46.62 MB / 328.7 MB, free: 3.73 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.02969/0.1154, allocations: 30.25 MB / 359 MB, free: 5.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01933/0.1347, allocations: 8.643 MB / 367.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00548/0.1403, allocations: 167.4 kB / 367.8 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01194/0.1523, allocations: 4.891 MB / 372.7 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01032/0.1626, allocations: 2.953 MB / 375.6 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005098/0.1678, allocations: 1.617 MB / 377.2 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1981/0.3659, allocations: 8.69 MB / 385.9 MB, free: 14.06 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01932/0.3853, allocations: 12.84 MB / 398.8 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008989/0.3943, allocations: 4.218 MB / 403 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008356/0.4027, allocations: 4.733 MB / 407.7 MB, free: 7.988 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003626/0.4064, allocations: 1.161 MB / 408.9 MB, free: 7.988 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00555/0.4119, allocations: 1.516 MB / 410.4 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003759/0.4157, allocations: 2.416 MB / 412.8 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009909/0.4257, allocations: 4.668 MB / 417.5 MB, free: 1.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02301/0.4487, allocations: 16.04 MB / 433.5 MB, free: 4.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.027e-05/0.4488, allocations: 7.984 kB / 433.5 MB, free: 4.012 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4488, allocations: 0 / 433.5 MB, free: 4.012 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004515/0.4492, allocations: 0 / 433.5 MB, free: 4.012 MB / 334.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.02944/0.4787, allocations: 9.749 MB / 443.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.4788, allocations: 12.03 kB / 443.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03003/0.5088, allocations: 5.274 MB / 448.6 MB, free: 5.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01243/0.5213, allocations: 4.692 MB / 453.3 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006274/0.5219, allocations: 0.531 MB / 453.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003215/0.5252, allocations: 0.7128 MB / 454.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02934/0.5545, allocations: 11.31 MB / 465.8 MB, free: 3.883 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005005/0.5551, allocations: 18.61 kB / 465.8 MB, free: 3.867 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002775/0.5579, allocations: 298.9 kB / 466.1 MB, free: 3.586 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004961/0.5584, allocations: 447 kB / 466.6 MB, free: 3.148 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02259/0.581, allocations: 10.82 MB / 477.4 MB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06856/0.6496, allocations: 37.58 MB / 0.5029 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02432/0.6739, allocations: 28.13 MB / 0.5304 GB, free: 2.438 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1738/0.8477, allocations: 2.644 MB / 0.5329 GB, free: 152.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01664/0.8644, allocations: 7.904 MB / 0.5407 GB, free: 149.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.8645, allocations: 57.61 kB / 0.5407 GB, free: 149.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 4.057e-06/0.8645, allocations: 0 / 0.5407 GB, free: 149.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.02012/0.8846, allocations: 10.36 MB / 0.5508 GB, free: 145.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001565/0.8862, allocations: 2.015 MB / 0.5528 GB, free: 143.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005077/0.8913, allocations: 3.823 MB / 0.5565 GB, free: 142.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004109/0.8917, allocations: 61.55 kB / 0.5566 GB, free: 142.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001608/0.8934, allocations: 3.551 MB / 0.5601 GB, free: 139.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006802/0.8941, allocations: 0.8279 MB / 0.5609 GB, free: 138.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001126/0.8952, allocations: 0.9506 MB / 0.5618 GB, free: 138.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.353e-05/0.8952, allocations: 307.5 kB / 0.5621 GB, free: 138 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002316/0.8976, allocations: 1.886 MB / 0.5639 GB, free: 137.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003293/0.9009, allocations: 4.391 MB / 0.5682 GB, free: 133.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006044/0.9069, allocations: 6.788 MB / 0.5749 GB, free: 127.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.09e-05/0.907, allocations: 23.19 kB / 0.5749 GB, free: 127.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01107/0.9181, allocations: 6.985 MB / 0.5817 GB, free: 124.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.009e-05/0.9182, allocations: 40 kB / 0.5817 GB, free: 124.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001334/0.9183, allocations: 88.88 kB / 0.5818 GB, free: 124.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00176/0.9201, allocations: 0.7341 MB / 0.5825 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003519/0.9236, allocations: 1.122 MB / 0.5836 GB, free: 123.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005976/0.9296, allocations: 5.637 MB / 0.5891 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003965/0.9336, allocations: 313.6 kB / 0.5894 GB, free: 117.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005117/0.9341, allocations: 271.8 kB / 0.5897 GB, free: 117.5 MB / 446.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.00375/0.9379, allocations: 2.521 MB / 0.5922 GB, free: 115.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001187/0.9391, allocations: 383.3 kB / 0.5925 GB, free: 114.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009783/0.9489, allocations: 4.28 MB / 0.5967 GB, free: 110.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.408e-05/0.949, allocations: 24 kB / 0.5967 GB, free: 110.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/0.949, allocations: 4 kB / 0.5967 GB, free: 110.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.45e-05/0.949, allocations: 11.95 kB / 0.5967 GB, free: 110.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03574/0.9848, allocations: 14.28 MB / 0.6107 GB, free: 96.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.941e-05/0.9849, allocations: 13.41 kB / 0.6107 GB, free: 96.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0037/0.9886, allocations: 483.2 kB / 0.6112 GB, free: 95.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003509/0.9921, allocations: 0.6895 MB / 0.6118 GB, free: 94.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004176/0.9925, allocations: 63.98 kB / 0.6119 GB, free: 94.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01389/1.006, allocations: 7.508 MB / 0.6192 GB, free: 87.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002311/1.009, allocations: 1.949 MB / 0.6211 GB, free: 84.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01636/1.025, allocations: 6.753 MB / 0.6277 GB, free: 77.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003475/1.029, allocations: 0.7928 MB / 0.6285 GB, free: 77.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001396/1.03, allocations: 59.98 kB / 0.6286 GB, free: 77.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004114/1.034, allocations: 163.8 kB / 0.6287 GB, free: 76.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007351/1.035, allocations: 217.5 kB / 0.6289 GB, free: 76.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003193/1.035, allocations: 103.8 kB / 0.629 GB, free: 76.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006425/1.042, allocations: 2.509 MB / 0.6315 GB, free: 74.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.61e-07/1.042, allocations: 0 / 0.6315 GB, free: 74.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008746/1.051, allocations: 1.288 MB / 0.6327 GB, free: 72.76 MB / 446.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.0009032/1.052, allocations: 225.2 kB / 0.6329 GB, free: 72.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01254/1.064, allocations: 5.177 MB / 0.638 GB, free: 67.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-05/1.064, allocations: 0 / 0.638 GB, free: 67.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006364/1.071, allocations: 2.409 MB / 0.6403 GB, free: 64.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008749/1.079, allocations: 0.98 MB / 0.6413 GB, free: 63.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03186/1.111, allocations: 12.32 MB / 0.6533 GB, free: 51.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006931/1.118, allocations: 4.5 MB / 0.6577 GB, free: 46.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006309/1.125, allocations: 1.364 MB / 0.6591 GB, free: 45.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001325/1.126, allocations: 291.4 kB / 0.6593 GB, free: 45.21 MB / 446.1 MB Notification: Performance of SimCode: time 1.663e-06/1.126, allocations: 0 / 0.6593 GB, free: 45.21 MB / 446.1 MB Notification: Performance of Templates: time 0.2545/1.381, allocations: 51.42 MB / 0.7096 GB, free: 136.5 MB / 446.1 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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