Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.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.001644/0.001644, allocations: 116.7 kB / 19.18 MB, free: 3.762 MB / 14.72 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.001887/0.001887, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 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.491/1.491, allocations: 230.2 MB / 255.1 MB, free: 15.4 MB / 206.1 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.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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 63.88 kB / 374.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1037, allocations: 53.33 MB / 427.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.02116/0.1248, allocations: 17.35 MB / 445.2 MB, free: 3.059 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1937/0.3186, allocations: 5.698 MB / 450.9 MB, free: 9.164 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002739/0.3213, allocations: 108.9 kB / 451 MB, free: 9.164 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003597/0.3249, allocations: 1.309 MB / 452.3 MB, free: 9.148 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004918/0.3298, allocations: 1.631 MB / 454 MB, free: 9.109 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002985/0.3328, allocations: 1.098 MB / 455.1 MB, free: 9.055 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007414/0.3402, allocations: 5.231 MB / 460.3 MB, free: 7.219 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004263/0.3445, allocations: 2.94 MB / 463.2 MB, free: 5.922 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003556/0.348, allocations: 2.208 MB / 465.4 MB, free: 4.844 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004842/0.3529, allocations: 2.666 MB / 468.1 MB, free: 3.602 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001903/0.3548, allocations: 0.6127 MB / 468.7 MB, free: 3.602 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003399/0.3582, allocations: 0.8578 MB / 469.6 MB, free: 3.523 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001935/0.3601, allocations: 1.426 MB / 471 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005065/0.3652, allocations: 2.646 MB / 473.6 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01173/0.3769, allocations: 8.162 MB / 481.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.3769, allocations: 5.344 kB / 481.8 MB, free: 12.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3769, allocations: 0 / 481.8 MB, free: 12.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002473/0.3772, allocations: 0 / 481.8 MB, free: 12.13 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.01781/0.395, allocations: 5.534 MB / 487.3 MB, free: 8.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.395, allocations: 13.31 kB / 487.4 MB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006401/0.4014, allocations: 1.015 MB / 488.4 MB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007554/0.409, allocations: 3.024 MB / 491.4 MB, free: 5.801 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003149/0.4093, allocations: 307.6 kB / 491.7 MB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001371/0.4107, allocations: 401.1 kB / 492.1 MB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01301/0.4237, allocations: 5.223 MB / 497.3 MB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001057/0.4238, allocations: 3.953 kB / 497.3 MB, free: 1.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005344/0.4243, allocations: 164 kB / 497.5 MB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002042/0.4245, allocations: 172 kB / 497.6 MB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01045/0.435, allocations: 4.474 MB / 0.4904 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03405/0.469, allocations: 16.73 MB / 0.5067 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009013/0.478, allocations: 8.535 MB / 0.515 GB, free: 2.227 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004725/0.4827, allocations: 1.995 MB / 0.517 GB, free: 252 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01051/0.4933, allocations: 5.773 MB / 0.5226 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.845e-05/0.4933, allocations: 51.86 kB / 0.5227 GB, free: 10.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 3.566e-06/0.4933, allocations: 0 / 0.5227 GB, free: 10.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.01451/0.5078, allocations: 6.363 MB / 0.5289 GB, free: 3.633 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/0.5079, allocations: 68.72 kB / 0.5289 GB, free: 3.551 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004019/0.5119, allocations: 2.327 MB / 0.5312 GB, free: 1.199 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003062/0.5122, allocations: 57.7 kB / 0.5313 GB, free: 1.137 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001592/0.5138, allocations: 1.907 MB / 0.5331 GB, free: 15.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006867/0.5145, allocations: 0.574 MB / 0.5337 GB, free: 14.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006731/0.5152, allocations: 403.9 kB / 0.5341 GB, free: 14.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.5153, allocations: 301.1 kB / 0.5344 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001613/0.5169, allocations: 0.8592 MB / 0.5352 GB, free: 13.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002205/0.5191, allocations: 1.563 MB / 0.5367 GB, free: 11.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004044/0.5231, allocations: 2.589 MB / 0.5393 GB, free: 8.285 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.816e-05/0.5232, allocations: 4 kB / 0.5393 GB, free: 8.281 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.0058/0.529, allocations: 2.983 MB / 0.5422 GB, free: 5.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.836e-05/0.529, allocations: 16 kB / 0.5422 GB, free: 5.254 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.164e-05/0.529, allocations: 24 kB / 0.5422 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004745/0.5295, allocations: 182.1 kB / 0.5424 GB, free: 5.047 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002145/0.5317, allocations: 0.5343 MB / 0.5429 GB, free: 4.512 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002792/0.5345, allocations: 2.433 MB / 0.5453 GB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/0.5368, allocations: 112 kB / 0.5454 GB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003158/0.5371, allocations: 99.98 kB / 0.5455 GB, free: 1.727 MB / 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.002453/0.5395, allocations: 1.204 MB / 0.5467 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006297/0.5402, allocations: 258.4 kB / 0.5469 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004984/0.5451, allocations: 2.511 MB / 0.5494 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/0.5452, allocations: 20 kB / 0.5494 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.5452, allocations: 4 kB / 0.5494 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/0.5452, allocations: 11.91 kB / 0.5494 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/0.5561, allocations: 5.895 MB / 0.5551 GB, free: 7.668 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.5561, allocations: 0 / 0.5551 GB, free: 7.668 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/0.5574, allocations: 283.8 kB / 0.5554 GB, free: 7.391 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00105/0.5585, allocations: 376.9 kB / 0.5558 GB, free: 7.016 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001285/0.5586, allocations: 43.98 kB / 0.5558 GB, free: 6.973 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00832/0.5669, allocations: 7.39 MB / 0.563 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.5669, allocations: 0 / 0.563 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006816/0.5738, allocations: 3.668 MB / 0.5666 GB, free: 11.43 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001509/0.5753, allocations: 0.5032 MB / 0.5671 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004337/0.5757, allocations: 39.98 kB / 0.5671 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.5769, allocations: 75.94 kB / 0.5672 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000332/0.5772, allocations: 117.1 kB / 0.5673 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/0.5773, allocations: 51.98 kB / 0.5674 GB, free: 10.62 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002695/0.58, allocations: 1.565 MB / 0.5689 GB, free: 9.047 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.58, allocations: 0 / 0.5689 GB, free: 9.047 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002756/0.5828, allocations: 0.6796 MB / 0.5696 GB, free: 8.367 MB / 478.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.000432/0.5832, allocations: 181.5 kB / 0.5697 GB, free: 8.18 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004249/0.5875, allocations: 2.229 MB / 0.5719 GB, free: 5.922 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.5875, allocations: 5.875 kB / 0.5719 GB, free: 5.918 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002604/0.5901, allocations: 1.413 MB / 0.5733 GB, free: 4.465 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003308/0.5934, allocations: 0.6141 MB / 0.5739 GB, free: 3.855 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01378/0.6072, allocations: 6.999 MB / 0.5807 GB, free: 12.81 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00265/0.6098, allocations: 2.604 MB / 0.5833 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008956/0.6107, allocations: 191.3 kB / 0.5835 GB, free: 9.996 MB / 494.1 MB Notification: Performance of SimCode: time 1.202e-06/0.6107, allocations: 4 kB / 0.5835 GB, free: 9.992 MB / 494.1 MB Notification: Performance of Templates: time 0.3215/0.9322, allocations: 96.94 MB / 0.6781 GB, free: 165.1 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.454791538883]