Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002012/0.002012, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002527/0.002527, allocations: 156.9 kB / 24.26 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Itr|Iqs|loadInertiaM.phi|loadInertiaM.w|loadInertiaMQS.phi|loadInertiaMQS.w|smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Itr|Iqs|loadInertiaM.phi|loadInertiaM.w|loadInertiaMQS.phi|loadInertiaMQS.w|smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 272.2 MB, free: 1.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.645e-05, allocations: 2.312 kB / 272.2 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains): time 0.1642/0.1642, allocations: 32.58 MB / 304.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01852/0.1827, allocations: 10.04 MB / 314.9 MB, free: 4.941 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008097/0.1908, allocations: 328.6 kB / 315.2 MB, free: 4.832 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02102/0.2119, allocations: 9.003 MB / 324.2 MB, free: 14.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01648/0.2283, allocations: 4.119 MB / 328.3 MB, free: 10.1 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009453/0.2378, allocations: 2.418 MB / 330.7 MB, free: 7.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.02402/0.2618, allocations: 14.86 MB / 345.6 MB, free: 8.777 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03671/0.2985, allocations: 16.92 MB / 362.5 MB, free: 7.691 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02715/0.3257, allocations: 10.85 MB / 373.4 MB, free: 12.83 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01547/0.3411, allocations: 6.805 MB / 380.2 MB, free: 6.008 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006072/0.3472, allocations: 2.027 MB / 382.2 MB, free: 3.98 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009196/0.3564, allocations: 2.44 MB / 384.6 MB, free: 1.539 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007442/0.3638, allocations: 4.122 MB / 388.7 MB, free: 13.41 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01355/0.3774, allocations: 5.251 MB / 394 MB, free: 8.145 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04264/0.42, allocations: 27.35 MB / 421.3 MB, free: 12.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.42, allocations: 4 kB / 421.4 MB, free: 12.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.42, allocations: 0 / 421.4 MB, free: 12.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0008614/0.4209, allocations: 0 / 421.4 MB, free: 12.71 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3330 * Number of variables: 3330 Notification: Performance of Generate backend data structure: time 0.2811/0.702, allocations: 15.95 MB / 437.3 MB, free: 105.8 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.7021, allocations: 12.83 kB / 437.3 MB, free: 105.8 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04181/0.7439, allocations: 8.305 MB / 445.6 MB, free: 103.9 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01743/0.7613, allocations: 9.005 MB / 454.6 MB, free: 99.15 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008134/0.7621, allocations: 0.907 MB / 455.5 MB, free: 98.25 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004392/0.7665, allocations: 1.203 MB / 456.7 MB, free: 97.06 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03909/0.8056, allocations: 19.06 MB / 475.8 MB, free: 77.88 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003803/0.806, allocations: 19.89 kB / 475.8 MB, free: 77.86 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002822/0.8088, allocations: 0.4955 MB / 476.3 MB, free: 77.38 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005054/0.8093, allocations: 0.6537 MB / 477 MB, free: 76.72 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02952/0.8388, allocations: 16.99 MB / 494 MB, free: 59.71 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07876/0.9176, allocations: 54.91 MB / 0.536 GB, free: 4.434 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02118/0.9388, allocations: 10.9 MB / 0.5466 GB, free: 10.57 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007407/0.9462, allocations: 3.688 MB / 0.5502 GB, free: 6.871 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02091/0.9671, allocations: 9.002 MB / 0.559 GB, free: 14.04 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.491e-05/0.9672, allocations: 81.73 kB / 0.5591 GB, free: 13.95 MB / 410.8 MB Notification: Performance of pre-optimization done (n=402): time 6.953e-06/0.9672, allocations: 0 / 0.5591 GB, free: 13.95 MB / 410.8 MB Notification: Performance of matching and sorting (n=412): time 0.05079/1.018, allocations: 19.85 MB / 0.5785 GB, free: 9.941 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/1.018, allocations: 120.4 kB / 0.5786 GB, free: 9.805 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008796/1.027, allocations: 4.925 MB / 0.5834 GB, free: 4.879 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006505/1.028, allocations: 93.7 kB / 0.5835 GB, free: 4.781 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.1324/1.16, allocations: 5.54 MB / 0.5889 GB, free: 138.7 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001612/1.162, allocations: 1.478 MB / 0.5904 GB, free: 138.7 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002274/1.164, allocations: 1.247 MB / 0.5916 GB, free: 138.7 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 4.213e-05/1.164, allocations: 303.1 kB / 0.5919 GB, free: 138.4 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0048/1.169, allocations: 2.853 MB / 0.5947 GB, free: 138.1 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006377/1.175, allocations: 5.41 MB / 0.5999 GB, free: 133.7 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01037/1.185, allocations: 8.748 MB / 0.6085 GB, free: 127.7 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001408/1.186, allocations: 27.53 kB / 0.6085 GB, free: 127.7 MB / 426.8 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.0172/1.203, allocations: 9.91 MB / 0.6182 GB, free: 123.7 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001259/1.203, allocations: 40.19 kB / 0.6182 GB, free: 123.7 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001655/1.203, allocations: 81.59 kB / 0.6183 GB, free: 123.7 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003799/1.207, allocations: 1.296 MB / 0.6196 GB, free: 123.4 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005493/1.212, allocations: 1.454 MB / 0.621 GB, free: 123.2 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01364/1.226, allocations: 12.85 MB / 0.6335 GB, free: 113.6 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005769/1.232, allocations: 356.2 kB / 0.6339 GB, free: 113.3 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001141/1.233, allocations: 325.9 kB / 0.6342 GB, free: 113 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * 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 (764): * Single equations (assignments): 758 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(1,1,100.0%), (1,5,100.0%), (1,1,100.0%), (10,46,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007596/1.24, allocations: 4.233 MB / 0.6383 GB, free: 109.4 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002049/1.243, allocations: 0.6539 MB / 0.639 GB, free: 108.8 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/1.255, allocations: 6.879 MB / 0.6457 GB, free: 103 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0058/1.261, allocations: 4.216 MB / 0.6498 GB, free: 99.19 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.502e-05/1.261, allocations: 15.94 kB / 0.6498 GB, free: 99.17 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.631e-05/1.261, allocations: 27.86 kB / 0.6498 GB, free: 99.14 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02184/1.283, allocations: 14.15 MB / 0.6636 GB, free: 84.95 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-05/1.283, allocations: 4 kB / 0.6637 GB, free: 84.95 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002963/1.286, allocations: 0.6988 MB / 0.6643 GB, free: 84.25 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003954/1.29, allocations: 1.365 MB / 0.6657 GB, free: 82.86 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005141/1.29, allocations: 99.97 kB / 0.6658 GB, free: 82.77 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01508/1.305, allocations: 16.49 MB / 0.6819 GB, free: 65.71 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.305, allocations: 15.86 kB / 0.6819 GB, free: 65.7 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01375/1.319, allocations: 10.22 MB / 0.6919 GB, free: 55.34 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002545/1.321, allocations: 1.051 MB / 0.6929 GB, free: 54.29 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007391/1.322, allocations: 84 kB / 0.693 GB, free: 54.2 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002339/1.325, allocations: 207.8 kB / 0.6932 GB, free: 54 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006895/1.325, allocations: 331.2 kB / 0.6935 GB, free: 53.68 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002859/1.326, allocations: 128 kB / 0.6936 GB, free: 53.55 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.004002/1.33, allocations: 3.183 MB / 0.6967 GB, free: 50.38 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.1e-07/1.33, allocations: 2.516 kB / 0.6967 GB, free: 50.38 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.006151/1.336, allocations: 1.946 MB / 0.6986 GB, free: 48.43 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 10 (smpmQS.inertiaRotor.w,smpmQS.rotorCage.port_p.reference.gamma,loadInertiaMQS.phi,smpm.inertiaRotor.w,smpm.stator.zeroInductor.i0,smpm.stator.core.Phi.re,smpm.stator.core.Phi.im,smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi) * 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 (353): * Single equations (assignments): 346 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (10,46,52.0%), (1,1,100.0%), (1,5,100.0%), (1,8,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00066/1.336, allocations: 285.5 kB / 0.6989 GB, free: 48.16 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0103/1.347, allocations: 7.337 MB / 0.7061 GB, free: 40.75 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/1.347, allocations: 3.938 kB / 0.7061 GB, free: 40.75 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00567/1.352, allocations: 3.864 MB / 0.7098 GB, free: 36.8 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005996/1.358, allocations: 1.32 MB / 0.7111 GB, free: 35.57 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02986/1.388, allocations: 20.77 MB / 0.7314 GB, free: 14.65 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007183/1.395, allocations: 6.976 MB / 0.7382 GB, free: 7.641 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.004968/1.4, allocations: 1.959 MB / 0.7401 GB, free: 5.676 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/1.401, allocations: 408.4 kB / 0.7405 GB, free: 5.273 MB / 426.8 MB Notification: Performance of SimCode: time 1.132e-06/1.401, allocations: 0 / 0.7405 GB, free: 5.273 MB / 426.8 MB Notification: Performance of Templates: time 0.2324/1.634, allocations: 73.14 MB / 0.8119 GB, free: 78.59 MB / 426.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_Mains/SMPM_Mains.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.896232404978946]