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.0008675/0.0008676, allocations: 99.78 kB / 16.94 MB, free: 5.98 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.0008557/0.0008557, allocations: 180.9 kB / 17.82 MB, free: 5.652 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.285/1.285, allocations: 205.4 MB / 224 MB, free: 13.18 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.000648/0.0006482, allocations: 8 kB / 280.8 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1042, allocations: 47.58 MB / 328.4 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.0256/0.1299, allocations: 24.12 MB / 352.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01994/0.1499, allocations: 8.306 MB / 360.8 MB, free: 3.539 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004854/0.1548, allocations: 155.5 kB / 360.9 MB, free: 3.387 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006417/0.1612, allocations: 1.57 MB / 362.5 MB, free: 1.809 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009995/0.1713, allocations: 3.073 MB / 365.6 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004014/0.1753, allocations: 1.287 MB / 366.9 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01113/0.1864, allocations: 7.281 MB / 374.1 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.165/0.3514, allocations: 9.882 MB / 384 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00432/0.3558, allocations: 2.894 MB / 386.9 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005635/0.3614, allocations: 3.254 MB / 390.2 MB, free: 13.19 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001563/0.363, allocations: 470.2 kB / 390.6 MB, free: 13.19 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002802/0.3658, allocations: 0.7433 MB / 391.4 MB, free: 13.19 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001277/0.3671, allocations: 1.494 MB / 392.9 MB, free: 13.19 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002329/0.3695, allocations: 1.585 MB / 394.5 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009952/0.3794, allocations: 13.01 MB / 407.5 MB, free: 7.438 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3794, allocations: 2.562 kB / 407.5 MB, free: 7.438 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3795, allocations: 0 / 407.5 MB, free: 7.438 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003276/0.3798, allocations: 0 / 407.5 MB, free: 7.438 MB / 318.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.02229/0.4021, allocations: 8.207 MB / 415.7 MB, free: 3.203 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.4021, allocations: 9.094 kB / 415.7 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02784/0.43, allocations: 5.175 MB / 420.9 MB, free: 500 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009983/0.44, allocations: 4.613 MB / 425.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004349/0.4405, allocations: 0.5301 MB / 426 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002314/0.4428, allocations: 0.7092 MB / 426.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02313/0.4659, allocations: 11.19 MB / 437.9 MB, free: 5.789 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002644/0.4663, allocations: 23.38 kB / 437.9 MB, free: 5.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001185/0.4675, allocations: 295.3 kB / 438.2 MB, free: 5.711 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004628/0.4679, allocations: 452.7 kB / 438.7 MB, free: 5.301 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02141/0.4894, allocations: 10.74 MB / 449.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06761/0.557, allocations: 38.03 MB / 487.4 MB, free: 5.391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02046/0.5775, allocations: 28.04 MB / 0.5034 GB, free: 5.547 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01572/0.5933, allocations: 7.91 MB / 0.5111 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.031e-05/0.5934, allocations: 71.12 kB / 0.5112 GB, free: 13.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=222): time 4.699e-06/0.5934, allocations: 3.938 kB / 0.5112 GB, free: 13.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=238): time 0.02026/0.6137, allocations: 10.4 MB / 0.5214 GB, free: 3.145 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001875/0.6156, allocations: 1.93 MB / 0.5232 GB, free: 1.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006449/0.622, allocations: 3.681 MB / 0.5268 GB, free: 13.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004877/0.6226, allocations: 65.7 kB / 0.5269 GB, free: 13.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002851/0.6254, allocations: 3.558 MB / 0.5304 GB, free: 9.766 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00107/0.6265, allocations: 0.8413 MB / 0.5312 GB, free: 8.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000432/0.627, allocations: 102.4 kB / 0.5313 GB, free: 8.832 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003677/0.6274, allocations: 0.5009 MB / 0.5318 GB, free: 8.324 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003358/0.6307, allocations: 1.895 MB / 0.5336 GB, free: 6.422 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00486/0.6356, allocations: 4.434 MB / 0.538 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1592/0.7948, allocations: 2.849 MB / 0.5407 GB, free: 148.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.47e-05/0.7949, allocations: 25.94 kB / 0.5408 GB, free: 148.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=640) (initialization): time 0.01145/0.8064, allocations: 7.031 MB / 0.5476 GB, free: 146.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.841e-05/0.8065, allocations: 42.69 kB / 0.5477 GB, free: 146.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001601/0.8067, allocations: 88.09 kB / 0.5478 GB, free: 146.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001804/0.8085, allocations: 0.7505 MB / 0.5485 GB, free: 146.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003808/0.8123, allocations: 1.147 MB / 0.5496 GB, free: 146.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006171/0.8185, allocations: 5.38 MB / 0.5549 GB, free: 143.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004009/0.8225, allocations: 321.3 kB / 0.5552 GB, free: 143.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004956/0.823, allocations: 280.3 kB / 0.5554 GB, free: 143.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 403 * 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 (603): * Single equations (assignments): 600 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * 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: 1 {(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004463/0.8275, allocations: 2.525 MB / 0.5579 GB, free: 142.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007039/0.8282, allocations: 382.3 kB / 0.5583 GB, free: 142.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006787/0.835, allocations: 4.31 MB / 0.5625 GB, free: 140.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/0.8351, allocations: 27.22 kB / 0.5625 GB, free: 140.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.8351, allocations: 4.312 kB / 0.5625 GB, free: 140.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.832e-05/0.8351, allocations: 12.47 kB / 0.5625 GB, free: 140.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02019/0.8553, allocations: 14.33 MB / 0.5765 GB, free: 134 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/0.8554, allocations: 11.69 kB / 0.5765 GB, free: 134 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00184/0.8572, allocations: 496.3 kB / 0.577 GB, free: 133.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001955/0.8592, allocations: 0.6933 MB / 0.5777 GB, free: 133.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000426/0.8596, allocations: 74.75 kB / 0.5777 GB, free: 133.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007254/0.8669, allocations: 7.086 MB / 0.5847 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001235/0.8682, allocations: 1.882 MB / 0.5865 GB, free: 125 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008846/0.877, allocations: 8.114 MB / 0.5944 GB, free: 116.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00189/0.8789, allocations: 0.8019 MB / 0.5952 GB, free: 116 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006331/0.8796, allocations: 60 kB / 0.5953 GB, free: 115.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001806/0.8814, allocations: 167.9 kB / 0.5954 GB, free: 115.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003589/0.8818, allocations: 229.4 kB / 0.5956 GB, free: 115.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001579/0.8819, allocations: 95.97 kB / 0.5957 GB, free: 115.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003607/0.8856, allocations: 2.396 MB / 0.5981 GB, free: 113 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8856, allocations: 0 / 0.5981 GB, free: 113 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005404/0.891, allocations: 1.284 MB / 0.5993 GB, free: 111.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 (249): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {(4,100.0%) 32} * Non-linear torn systems: 1 {3 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006134/0.8916, allocations: 226.8 kB / 0.5995 GB, free: 111.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006908/0.8985, allocations: 5.18 MB / 0.6046 GB, free: 106.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/0.8986, allocations: 4 kB / 0.6046 GB, free: 106.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003196/0.9018, allocations: 2.431 MB / 0.607 GB, free: 103.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003774/0.9056, allocations: 0.9061 MB / 0.6079 GB, free: 102.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01814/0.9237, allocations: 14.75 MB / 0.6223 GB, free: 88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004268/0.9281, allocations: 4.617 MB / 0.6268 GB, free: 83.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004207/0.9323, allocations: 1.41 MB / 0.6282 GB, free: 81.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007451/0.9331, allocations: 295.4 kB / 0.6284 GB, free: 81.64 MB / 446.1 MB Notification: Performance of SimCode: time 1.182e-06/0.9331, allocations: 0 / 0.6284 GB, free: 81.64 MB / 446.1 MB Notification: Performance of Templates: time 0.07507/1.008, allocations: 51.78 MB / 0.679 GB, free: 29.83 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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