Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.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.0007909/0.0007909, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001235/0.002026, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0009146/0.0009146, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001193/0.002108, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9158/0.9158, allocations: 177.5 MB / 190 MB, free: 4.758 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07872/0.9946, allocations: 53.87 MB / 243.9 MB, free: 14.82 MB / 250.7 MB " [Timeout remaining time 179] 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.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.[0-9,]+.|smeeE.idq_dr.[0-9,]+.|smeeE.idq_rr.[0-9,]+.|smeeE.idq_sr.[0-9,]+.|smeeM.is.[0-9,]+.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|smeeM.stator.stray.port_p.Phi.im|smeeM.stator.stray.port_p.Phi.re",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.[0-9,]+.|smeeE.idq_dr.[0-9,]+.|smeeE.idq_rr.[0-9,]+.|smeeE.idq_sr.[0-9,]+.|smeeM.is.[0-9,]+.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|smeeM.stator.stray.port_p.Phi.im|smeeM.stator.stray.port_p.Phi.re",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 245.2 MB, free: 13.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.349e-05, allocations: 5.406 kB / 245.2 MB, free: 13.51 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.02009/0.02011, allocations: 23.76 MB / 269 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1226/0.1427, allocations: 7.654 MB / 276.6 MB, free: 2.586 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003682/0.1464, allocations: 179 kB / 276.8 MB, free: 2.586 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003933/0.1503, allocations: 1.658 MB / 278.5 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006132/0.1565, allocations: 2.428 MB / 280.9 MB, free: 2.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002944/0.1594, allocations: 1.484 MB / 282.4 MB, free: 2.148 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008872/0.1683, allocations: 7.626 MB / 290 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005064/0.1734, allocations: 3.106 MB / 293.1 MB, free: 13.92 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009449/0.1828, allocations: 5.571 MB / 298.7 MB, free: 11.31 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005803/0.1886, allocations: 3.438 MB / 302.1 MB, free: 9.605 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002066/0.1907, allocations: 0.8625 MB / 303 MB, free: 9.602 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004168/0.1948, allocations: 1.284 MB / 304.3 MB, free: 8.484 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001924/0.1968, allocations: 1.748 MB / 306 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004222/0.201, allocations: 2.149 MB / 308.2 MB, free: 4.602 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007509/0.2085, allocations: 5.694 MB / 313.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.234e-05/0.2085, allocations: 0 / 313.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2085, allocations: 0 / 313.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001746/0.2087, allocations: 0 / 313.9 MB, free: 15.16 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.01325/0.2219, allocations: 8.598 MB / 322.5 MB, free: 6.871 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.222, allocations: 8.625 kB / 322.5 MB, free: 6.863 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004365/0.2263, allocations: 1.691 MB / 324.2 MB, free: 5.199 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004578/0.2309, allocations: 2.719 MB / 326.9 MB, free: 2.582 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002323/0.2311, allocations: 429.3 kB / 327.3 MB, free: 2.164 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005811/0.2317, allocations: 0.5653 MB / 327.9 MB, free: 1.605 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007182/0.2389, allocations: 4.284 MB / 332.1 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001036/0.239, allocations: 11.95 kB / 332.2 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003144/0.2393, allocations: 240.3 kB / 332.4 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001813/0.2395, allocations: 255.3 kB / 332.6 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002788/0.2423, allocations: 1.681 MB / 334.3 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02033/0.2626, allocations: 15.29 MB / 349.6 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002645/0.2653, allocations: 2.419 MB / 352 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001202/0.2665, allocations: 1.06 MB / 353.1 MB, free: 9.148 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002847/0.2668, allocations: 132.3 kB / 353.2 MB, free: 9.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.2668, allocations: 64.97 kB / 353.3 MB, free: 8.945 MB / 330.7 MB Notification: Performance of pre-optimization done (n=310): time 4.989e-06/0.2668, allocations: 0 / 353.3 MB, free: 8.945 MB / 330.7 MB Notification: Performance of matching and sorting (n=359): time 0.01314/0.2799, allocations: 7.66 MB / 360.9 MB, free: 1.414 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.28, allocations: 86.2 kB / 361 MB, free: 1.316 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001906/0.2819, allocations: 2.206 MB / 363.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001424/0.282, allocations: 88.91 kB / 363.3 MB, free: 15.45 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009046/0.2829, allocations: 2.186 MB / 365.5 MB, free: 13.38 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007376/0.2837, allocations: 1.262 MB / 366.8 MB, free: 12.19 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006489/0.2843, allocations: 0.6717 MB / 367.4 MB, free: 11.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.788e-05/0.2844, allocations: 313.1 kB / 367.7 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000644/0.285, allocations: 461.9 kB / 368.2 MB, free: 10.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.2861, allocations: 1.594 MB / 369.8 MB, free: 8.809 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002213/0.2883, allocations: 2.603 MB / 372.4 MB, free: 5.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.812e-05/0.2883, allocations: 8 kB / 372.4 MB, free: 5.902 MB / 346.7 MB Notification: Performance of matching and sorting (n=529) (initialization): time 0.003457/0.2918, allocations: 2.591 MB / 375 MB, free: 3.391 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.2918, allocations: 20 kB / 375 MB, free: 3.371 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-05/0.2919, allocations: 36 kB / 375 MB, free: 3.336 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008712/0.2927, allocations: 472.6 kB / 375.5 MB, free: 2.867 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002011/0.2947, allocations: 1.03 MB / 376.5 MB, free: 1.836 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004752/0.2995, allocations: 7.138 MB / 383.7 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/0.3013, allocations: 159.8 kB / 383.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002067/0.3015, allocations: 144 kB / 384 MB, free: 10.13 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 159 * 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 (480): * Single equations (assignments): 470 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 4 systems {(3,12,100.0%), (1,6,100.0%), (2,15,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001114/0.3026, allocations: 370.3 kB / 384.3 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005659/0.3032, allocations: 351.6 kB / 384.7 MB, free: 9.414 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002697/0.3059, allocations: 2.098 MB / 386.8 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.215e-05/0.3059, allocations: 55.81 kB / 386.8 MB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/0.3059, allocations: 8 kB / 386.8 MB, free: 7.207 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.897e-05/0.306, allocations: 15.94 kB / 386.9 MB, free: 7.191 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008523/0.3145, allocations: 6.283 MB / 393.1 MB, free: 1.406 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/0.3145, allocations: 16.05 kB / 393.2 MB, free: 1.391 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001567/0.3161, allocations: 0.6709 MB / 393.8 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/0.3173, allocations: 453 kB / 394.3 MB, free: 284 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001255/0.3186, allocations: 0.5701 MB / 394.8 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001591/0.3187, allocations: 83.97 kB / 394.9 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005637/0.3244, allocations: 9.854 MB / 404.8 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.234e-05/0.3244, allocations: 15.88 kB / 404.8 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003546/0.3279, allocations: 3.019 MB / 407.8 MB, free: 2.086 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004084/0.3283, allocations: 83 kB / 407.9 MB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008669/0.3292, allocations: 131.9 kB / 408 MB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003288/0.3295, allocations: 265.9 kB / 408.3 MB, free: 1.617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/0.3297, allocations: 83.97 kB / 408.4 MB, free: 1.535 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001024/0.3307, allocations: 1.119 MB / 409.5 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3307, allocations: 0 / 409.5 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002555/0.3332, allocations: 1.141 MB / 410.6 MB, free: 15.41 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.stray.Phi.re,smeeM.stator.stray.Phi.im,smeeE.phiMechanical,smeeE.idq_sr[1],smeeE.idq_sr[2],smeeE.idq_rr[2],smeeE.idq_dr[1]) * 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 (312): * Single equations (assignments): 302 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,13,100.0%), (1,5,100.0%), (1,8,100.0%), (3,12,100.0%), (1,6,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004521/0.3337, allocations: 309.7 kB / 410.9 MB, free: 15.11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002713/0.3364, allocations: 2.632 MB / 413.6 MB, free: 12.45 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.094e-05/0.3365, allocations: 71.72 kB / 413.6 MB, free: 12.39 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001826/0.3383, allocations: 2.092 MB / 415.7 MB, free: 10.26 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003796/0.3421, allocations: 7.368 MB / 423.1 MB, free: 1.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1378/0.4799, allocations: 9.444 MB / 432.5 MB, free: 104 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/0.4811, allocations: 1.165 MB / 433.7 MB, free: 103.8 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001718/0.4828, allocations: 0.5239 MB / 434.2 MB, free: 103.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001343/0.4841, allocations: 0.8252 MB / 435 MB, free: 103.7 MB / 394.7 MB Notification: Performance of SimCode: time 1.693e-06/0.4841, allocations: 0 / 435 MB, free: 103.7 MB / 394.7 MB Notification: Performance of Templates: time 0.06558/0.5497, allocations: 56.96 MB / 492 MB, free: 66.75 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.750797118060291]