Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 207.5 kB / 24.48 MB, free: 3.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 43.92 kB / 379 MB, free: 2.559 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.257, allocations: 53.36 MB / 432.4 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.0193/0.2763, allocations: 15.04 MB / 447.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01125/0.2876, allocations: 5.402 MB / 452.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003006/0.2906, allocations: 127.2 kB / 452.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003824/0.2944, allocations: 1.254 MB / 454.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005649/0.3, allocations: 1.634 MB / 455.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003089/0.3031, allocations: 1.082 MB / 456.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007644/0.3108, allocations: 5.231 MB / 462.1 MB, free: 8.871 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003804/0.3146, allocations: 2.313 MB / 464.4 MB, free: 6.473 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003451/0.318, allocations: 2.251 MB / 466.7 MB, free: 4.215 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004787/0.3228, allocations: 2.67 MB / 469.4 MB, free: 1.535 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001496/0.3243, allocations: 0.6094 MB / 470 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/0.3266, allocations: 0.8513 MB / 470.8 MB, free: 76 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001702/0.3283, allocations: 1.433 MB / 472.2 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003351/0.3317, allocations: 2.101 MB / 474.3 MB, free: 12.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009759/0.3414, allocations: 8.201 MB / 482.5 MB, free: 4.301 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.3414, allocations: 0 / 482.5 MB, free: 4.301 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3414, allocations: 0 / 482.5 MB, free: 4.301 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002003/0.3416, allocations: 0 / 482.5 MB, free: 4.301 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01509/0.3567, allocations: 5.453 MB / 488 MB, free: 14.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3568, allocations: 8.031 kB / 488 MB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005678/0.3624, allocations: 1.028 MB / 489 MB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0073/0.3697, allocations: 2.945 MB / 492 MB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002867/0.37, allocations: 300.2 kB / 492.3 MB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001064/0.3711, allocations: 399.9 kB / 492.7 MB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01169/0.3828, allocations: 5.371 MB / 498 MB, free: 4.562 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001488/0.3829, allocations: 23.81 kB / 498.1 MB, free: 4.539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007849/0.3837, allocations: 160 kB / 498.2 MB, free: 4.383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002053/0.3839, allocations: 172 kB / 498.4 MB, free: 4.211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009649/0.3936, allocations: 4.462 MB / 0.4911 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03058/0.4242, allocations: 14.35 MB / 0.5051 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006631/0.4308, allocations: 3.226 MB / 0.5082 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004394/0.4352, allocations: 1.979 MB / 0.5102 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01094/0.4461, allocations: 4.158 MB / 0.5142 GB, free: 7.742 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.788e-05/0.4462, allocations: 51.88 kB / 0.5143 GB, free: 7.684 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 5.089e-06/0.4462, allocations: 0 / 0.5143 GB, free: 7.684 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.0137/0.4599, allocations: 5.881 MB / 0.52 GB, free: 1.762 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.46, allocations: 68.66 kB / 0.5201 GB, free: 1.684 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004039/0.464, allocations: 2.11 MB / 0.5221 GB, free: 15.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002585/0.4642, allocations: 53.7 kB / 0.5222 GB, free: 15.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001593/0.4658, allocations: 1.931 MB / 0.5241 GB, free: 13.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006826/0.4665, allocations: 0.5733 MB / 0.5246 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007631/0.4673, allocations: 399.9 kB / 0.525 GB, free: 12.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.4674, allocations: 305.1 kB / 0.5253 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/0.4691, allocations: 0.8631 MB / 0.5261 GB, free: 11.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002187/0.4713, allocations: 1.592 MB / 0.5277 GB, free: 9.461 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003991/0.4752, allocations: 2.586 MB / 0.5302 GB, free: 6.555 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-05/0.4753, allocations: 4 kB / 0.5302 GB, free: 6.551 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005577/0.4808, allocations: 2.893 MB / 0.5331 GB, free: 3.645 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.149e-05/0.4809, allocations: 19.94 kB / 0.5331 GB, free: 3.625 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.815e-05/0.4809, allocations: 20 kB / 0.5331 GB, free: 3.605 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004831/0.4814, allocations: 177.5 kB / 0.5333 GB, free: 3.426 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002148/0.4836, allocations: 0.5266 MB / 0.5338 GB, free: 2.898 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002646/0.4862, allocations: 2.291 MB / 0.536 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/0.4881, allocations: 108 kB / 0.5361 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002613/0.4884, allocations: 104 kB / 0.5362 GB, free: 296 kB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (266): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.2144/0.7028, allocations: 1.195 MB / 0.5374 GB, free: 98.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006884/0.7035, allocations: 241.2 kB / 0.5376 GB, free: 98.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004474/0.7079, allocations: 2.345 MB / 0.5399 GB, free: 97.78 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.708, allocations: 15.09 kB / 0.5399 GB, free: 97.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/0.708, allocations: 6.109 kB / 0.5399 GB, free: 97.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.995e-05/0.708, allocations: 7.828 kB / 0.5399 GB, free: 97.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008856/0.7168, allocations: 4.893 MB / 0.5447 GB, free: 95.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.7169, allocations: 0 / 0.5447 GB, free: 95.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/0.7181, allocations: 281.9 kB / 0.545 GB, free: 95.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009348/0.719, allocations: 362.8 kB / 0.5453 GB, free: 95.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.7191, allocations: 42.7 kB / 0.5454 GB, free: 95.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005263/0.7244, allocations: 6.929 MB / 0.5521 GB, free: 90.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.7244, allocations: 5.656 kB / 0.5521 GB, free: 90.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004838/0.7292, allocations: 3.493 MB / 0.5555 GB, free: 88.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/0.7304, allocations: 418.6 kB / 0.5559 GB, free: 88.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003199/0.7308, allocations: 36.09 kB / 0.556 GB, free: 88.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.7319, allocations: 81.5 kB / 0.5561 GB, free: 88.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002566/0.7321, allocations: 129.8 kB / 0.5562 GB, free: 88.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-05/0.7322, allocations: 48.62 kB / 0.5562 GB, free: 88.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00169/0.7339, allocations: 1.393 MB / 0.5576 GB, free: 87.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7339, allocations: 0 / 0.5576 GB, free: 87.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002161/0.7361, allocations: 0.6757 MB / 0.5582 GB, free: 86.45 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,8,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003481/0.7364, allocations: 178.5 kB / 0.5584 GB, free: 86.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003115/0.7395, allocations: 2.157 MB / 0.5605 GB, free: 84.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.7395, allocations: 0 / 0.5605 GB, free: 84.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001833/0.7414, allocations: 1.412 MB / 0.5619 GB, free: 83.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/0.7437, allocations: 0.5092 MB / 0.5624 GB, free: 82.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.7537, allocations: 6.991 MB / 0.5692 GB, free: 75.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001742/0.7554, allocations: 2.068 MB / 0.5712 GB, free: 73.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007573/0.7562, allocations: 183.4 kB / 0.5714 GB, free: 73.55 MB / 446.1 MB Notification: Performance of SimCode: time 1.333e-06/0.7562, allocations: 0 / 0.5714 GB, free: 73.55 MB / 446.1 MB Notification: Performance of Templates: time 0.08901/0.8452, allocations: 96.62 MB / 0.6658 GB, free: 9.055 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.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: 14.050839116011048]