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.0009827/0.0009827, allocations: 187 kB / 17.92 MB, free: 3.855 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.113/1.113, allocations: 205.1 MB / 223.7 MB, free: 8.488 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.0008685/0.0008684, allocations: 105.6 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007323/0.0007324, allocations: 39.94 kB / 327.2 MB, free: 304 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1859, allocations: 46.63 MB / 373.9 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.01976/0.2057, allocations: 29.74 MB / 403.6 MB, free: 19.67 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01236/0.2182, allocations: 8.558 MB / 412.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003789/0.222, allocations: 155.5 kB / 412.3 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007828/0.2298, allocations: 4.563 MB / 416.9 MB, free: 6.363 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007125/0.237, allocations: 2.716 MB / 419.6 MB, free: 3.641 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003679/0.2406, allocations: 1.507 MB / 421.1 MB, free: 2.137 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009749/0.2504, allocations: 9.095 MB / 430.2 MB, free: 9.004 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01471/0.2651, allocations: 10.27 MB / 440.5 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005023/0.2702, allocations: 3.617 MB / 444.1 MB, free: 11.01 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006016/0.2762, allocations: 4.487 MB / 448.6 MB, free: 6.504 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002062/0.2783, allocations: 0.7344 MB / 449.3 MB, free: 5.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003386/0.2817, allocations: 1.086 MB / 450.4 MB, free: 4.684 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002326/0.2841, allocations: 1.966 MB / 452.3 MB, free: 2.711 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006046/0.2901, allocations: 4.208 MB / 456.6 MB, free: 14.48 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01421/0.3044, allocations: 15.32 MB / 471.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.3044, allocations: 0 / 471.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3044, allocations: 0 / 471.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004775/0.3049, allocations: 0 / 471.9 MB, free: 15.11 MB / 362.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.02631/0.3312, allocations: 9.786 MB / 481.7 MB, free: 5.238 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.3313, allocations: 8.031 kB / 481.7 MB, free: 5.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02615/0.3574, allocations: 5.262 MB / 486.9 MB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01058/0.3681, allocations: 4.637 MB / 491.6 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004541/0.3686, allocations: 0.53 MB / 492.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002197/0.3708, allocations: 0.7107 MB / 492.8 MB, free: 9.992 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1587/0.5295, allocations: 11.32 MB / 0.4923 GB, free: 94.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002021/0.5297, allocations: 18.03 kB / 0.4923 GB, free: 94.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006518/0.5303, allocations: 300 kB / 0.4926 GB, free: 94.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002903/0.5306, allocations: 439.6 kB / 0.493 GB, free: 94.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01644/0.5471, allocations: 10.81 MB / 0.5036 GB, free: 90.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03847/0.5856, allocations: 38 MB / 0.5407 GB, free: 59.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01225/0.5979, allocations: 28.11 MB / 0.5682 GB, free: 27.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003137/0.6011, allocations: 2.655 MB / 0.5707 GB, free: 25.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01037/0.6115, allocations: 7.924 MB / 0.5785 GB, free: 17.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.6115, allocations: 60.5 kB / 0.5785 GB, free: 17.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=217): time 3.576e-06/0.6115, allocations: 0 / 0.5785 GB, free: 17.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=233): time 0.01455/0.6261, allocations: 10.35 MB / 0.5887 GB, free: 6.691 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001293/0.6274, allocations: 1.928 MB / 0.5905 GB, free: 4.613 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00378/0.6312, allocations: 3.814 MB / 0.5943 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001178/0.6313, allocations: 73.64 kB / 0.5943 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001827/0.6331, allocations: 3.553 MB / 0.5978 GB, free: 13.19 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005451/0.6337, allocations: 0.8235 MB / 0.5986 GB, free: 12.37 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00116/0.6348, allocations: 0.9568 MB / 0.5995 GB, free: 11.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.331e-05/0.6349, allocations: 301.1 kB / 0.5998 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002385/0.6373, allocations: 1.887 MB / 0.6017 GB, free: 9.211 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003706/0.641, allocations: 4.396 MB / 0.606 GB, free: 3.582 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006444/0.6475, allocations: 6.784 MB / 0.6126 GB, free: 11.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.967e-05/0.6475, allocations: 24 kB / 0.6126 GB, free: 11.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01018/0.6577, allocations: 6.995 MB / 0.6194 GB, free: 4.551 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.496e-05/0.6578, allocations: 40.78 kB / 0.6195 GB, free: 4.512 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001006/0.6579, allocations: 88 kB / 0.6196 GB, free: 4.426 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001842/0.6597, allocations: 0.7327 MB / 0.6203 GB, free: 3.684 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003092/0.6628, allocations: 1.127 MB / 0.6214 GB, free: 2.555 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00637/0.6692, allocations: 5.236 MB / 0.6265 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003054/0.6723, allocations: 311 kB / 0.6268 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003278/0.6726, allocations: 276 kB / 0.6271 GB, free: 12.62 MB / 426.7 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.003531/0.6762, allocations: 2.522 MB / 0.6295 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006359/0.6768, allocations: 387.2 kB / 0.6299 GB, free: 9.699 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00685/0.6837, allocations: 4.282 MB / 0.6341 GB, free: 5.398 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/0.6837, allocations: 24 kB / 0.6341 GB, free: 5.375 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.6837, allocations: 4 kB / 0.6341 GB, free: 5.371 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.029e-05/0.6838, allocations: 19.89 kB / 0.6341 GB, free: 5.352 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01958/0.7033, allocations: 14.28 MB / 0.6481 GB, free: 6.875 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.7034, allocations: 16.03 kB / 0.6481 GB, free: 6.859 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/0.7051, allocations: 479.2 kB / 0.6485 GB, free: 6.391 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001833/0.7069, allocations: 0.6971 MB / 0.6492 GB, free: 5.684 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/0.7071, allocations: 67.98 kB / 0.6493 GB, free: 5.617 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1522/0.8593, allocations: 6.93 MB / 0.656 GB, free: 144.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001197/0.8605, allocations: 1.871 MB / 0.6579 GB, free: 143.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01956/0.8801, allocations: 16.15 MB / 0.6736 GB, free: 136 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/0.8814, allocations: 0.793 MB / 0.6744 GB, free: 135.6 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003829/0.8818, allocations: 62.5 kB / 0.6745 GB, free: 135.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/0.8834, allocations: 166.8 kB / 0.6746 GB, free: 135.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004029/0.8838, allocations: 223.5 kB / 0.6749 GB, free: 135.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000159/0.884, allocations: 86.14 kB / 0.6749 GB, free: 135.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002786/0.8868, allocations: 2.517 MB / 0.6774 GB, free: 134.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.8868, allocations: 3.969 kB / 0.6774 GB, free: 134.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003762/0.8905, allocations: 1.578 MB / 0.6789 GB, free: 134.4 MB / 442.7 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.0003267/0.8909, allocations: 224.6 kB / 0.6792 GB, free: 134.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005649/0.8965, allocations: 5.144 MB / 0.6842 GB, free: 132.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.8965, allocations: 3.875 kB / 0.6842 GB, free: 132.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002667/0.8992, allocations: 2.408 MB / 0.6865 GB, free: 130.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003293/0.9025, allocations: 0.9322 MB / 0.6874 GB, free: 130.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01572/0.9182, allocations: 17.27 MB / 0.7043 GB, free: 116.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003033/0.9213, allocations: 4.571 MB / 0.7088 GB, free: 112.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003459/0.9248, allocations: 1.358 MB / 0.7101 GB, free: 110.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006245/0.9254, allocations: 299.4 kB / 0.7104 GB, free: 110.6 MB / 442.7 MB Notification: Performance of SimCode: time 9.42e-07/0.9254, allocations: 6.406 kB / 0.7104 GB, free: 110.5 MB / 442.7 MB Notification: Performance of Templates: time 0.06889/0.9943, allocations: 57.49 MB / 0.7665 GB, free: 53.05 MB / 442.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@2/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