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.000855/0.0008551, allocations: 91.58 kB / 17.3 MB, free: 6.363 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.0008851/0.0008852, allocations: 176.7 kB / 18.21 MB, free: 5.531 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.63/1.63, allocations: 205.4 MB / 224.4 MB, free: 13.05 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.0004846/0.0004846, allocations: 19.19 kB / 281.4 MB, free: 3.387 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1107, allocations: 47.58 MB / 329 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03057/0.1413, allocations: 28.56 MB / 357.5 MB, free: 7.047 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01927/0.1606, allocations: 8.48 MB / 366 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00677/0.1674, allocations: 159.4 kB / 366.2 MB, free: 14.39 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006287/0.1737, allocations: 1.559 MB / 367.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01179/0.1856, allocations: 2.691 MB / 370.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004984/0.1906, allocations: 1.4 MB / 371.8 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2373/0.4279, allocations: 8.952 MB / 380.8 MB, free: 12.45 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03155/0.4595, allocations: 12.02 MB / 392.8 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009786/0.4693, allocations: 3.051 MB / 395.9 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01319/0.4825, allocations: 3.803 MB / 399.7 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003778/0.4864, allocations: 480.5 kB / 400.1 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006653/0.4931, allocations: 0.8232 MB / 400.9 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004339/0.4974, allocations: 1.592 MB / 402.5 MB, free: 9.473 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009634/0.5071, allocations: 3.789 MB / 406.3 MB, free: 7.852 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01974/0.5269, allocations: 14.77 MB / 421.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.527, allocations: 0 / 421.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.527, allocations: 3.938 kB / 421.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000634/0.5276, allocations: 0 / 421.1 MB, free: 14.88 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.02678/0.5544, allocations: 8.189 MB / 429.3 MB, free: 7.434 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.5545, allocations: 8.031 kB / 429.3 MB, free: 7.426 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03002/0.5845, allocations: 5.283 MB / 434.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0126/0.5971, allocations: 4.659 MB / 439.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006977/0.5979, allocations: 0.5328 MB / 439.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003411/0.6013, allocations: 0.7057 MB / 440.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03764/0.639, allocations: 11.32 MB / 451.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005002/0.6395, allocations: 23.28 kB / 451.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002932/0.6425, allocations: 301.4 kB / 452.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005912/0.6431, allocations: 447 kB / 452.6 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02741/0.6705, allocations: 10.81 MB / 463.4 MB, free: 5.555 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07381/0.7444, allocations: 38.12 MB / 0.4897 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0237/0.7681, allocations: 28.1 MB / 0.5172 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005028/0.7732, allocations: 2.659 MB / 0.5198 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01585/0.7891, allocations: 7.931 MB / 0.5275 GB, free: 4.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.024e-05/0.7892, allocations: 60.56 kB / 0.5276 GB, free: 4.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 4.929e-06/0.7892, allocations: 3.938 kB / 0.5276 GB, free: 4.336 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.2211/1.01, allocations: 10.37 MB / 0.5377 GB, free: 151.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001754/1.012, allocations: 1.917 MB / 0.5396 GB, free: 149.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007684/1.02, allocations: 3.815 MB / 0.5433 GB, free: 148.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006552/1.02, allocations: 67.48 kB / 0.5434 GB, free: 148.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002768/1.023, allocations: 3.555 MB / 0.5468 GB, free: 145.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009648/1.024, allocations: 0.8219 MB / 0.5476 GB, free: 145.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005561/1.025, allocations: 383.6 kB / 0.548 GB, free: 144.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.344e-05/1.025, allocations: 305.1 kB / 0.5483 GB, free: 144.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002776/1.028, allocations: 1.894 MB / 0.5501 GB, free: 143.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003411/1.031, allocations: 4.397 MB / 0.5544 GB, free: 139.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005792/1.037, allocations: 6.787 MB / 0.5611 GB, free: 134.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.696e-05/1.037, allocations: 23.53 kB / 0.5611 GB, free: 134.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01049/1.047, allocations: 6.982 MB / 0.5679 GB, free: 131.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.773e-05/1.048, allocations: 42.97 kB / 0.5679 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001103/1.048, allocations: 90.25 kB / 0.568 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001804/1.049, allocations: 0.7368 MB / 0.5687 GB, free: 131.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003348/1.053, allocations: 1.113 MB / 0.5698 GB, free: 131.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005877/1.059, allocations: 5.252 MB / 0.575 GB, free: 128.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004285/1.063, allocations: 304.1 kB / 0.5753 GB, free: 128.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005834/1.064, allocations: 274 kB / 0.5755 GB, free: 128 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.004602/1.068, allocations: 2.53 MB / 0.578 GB, free: 126.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001004/1.069, allocations: 388.7 kB / 0.5784 GB, free: 126.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006705/1.076, allocations: 4.265 MB / 0.5825 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/1.076, allocations: 28 kB / 0.5825 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/1.076, allocations: 8.562 kB / 0.5826 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.969e-05/1.076, allocations: 11.44 kB / 0.5826 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02133/1.097, allocations: 14.28 MB / 0.5965 GB, free: 111.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/1.097, allocations: 14.19 kB / 0.5965 GB, free: 111.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/1.099, allocations: 476.1 kB / 0.597 GB, free: 110.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001831/1.101, allocations: 0.6971 MB / 0.5977 GB, free: 109.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001649/1.101, allocations: 75.91 kB / 0.5977 GB, free: 109.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00688/1.108, allocations: 6.951 MB / 0.6045 GB, free: 102.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001308/1.109, allocations: 1.864 MB / 0.6063 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008441/1.118, allocations: 6.735 MB / 0.6129 GB, free: 93.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002131/1.12, allocations: 0.8006 MB / 0.6137 GB, free: 92.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008161/1.121, allocations: 59.94 kB / 0.6138 GB, free: 92.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001856/1.123, allocations: 167.9 kB / 0.6139 GB, free: 92.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003904/1.123, allocations: 221.4 kB / 0.6141 GB, free: 92.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/1.123, allocations: 92.36 kB / 0.6142 GB, free: 92.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003497/1.127, allocations: 2.509 MB / 0.6167 GB, free: 89.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/1.127, allocations: 0 / 0.6167 GB, free: 89.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005061/1.132, allocations: 1.287 MB / 0.6179 GB, free: 88.47 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.0004706/1.132, allocations: 238.1 kB / 0.6182 GB, free: 88.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006702/1.139, allocations: 5.139 MB / 0.6232 GB, free: 83.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/1.139, allocations: 4.125 kB / 0.6232 GB, free: 83.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00298/1.142, allocations: 2.422 MB / 0.6255 GB, free: 80.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01276/1.155, allocations: 0.9397 MB / 0.6265 GB, free: 79.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02606/1.181, allocations: 15.48 MB / 0.6416 GB, free: 64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006727/1.188, allocations: 4.493 MB / 0.646 GB, free: 59.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00548/1.193, allocations: 1.36 MB / 0.6473 GB, free: 58.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001466/1.195, allocations: 299.4 kB / 0.6476 GB, free: 57.8 MB / 446.1 MB Notification: Performance of SimCode: time 2.385e-06/1.195, allocations: 1.094 kB / 0.6476 GB, free: 57.8 MB / 446.1 MB Notification: Performance of Templates: time 0.2889/1.484, allocations: 54 MB / 0.7003 GB, free: 136.1 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 -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