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.002428/0.002428, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.00297/0.00297, allocations: 164.8 kB / 24.27 MB, free: 156 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.605/1.605, allocations: 177 MB / 204.5 MB, free: 5.602 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.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 1.663e-06/1.663e-06, allocations: 0 / 272.2 MB, free: 1.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.889e-05, allocations: 2.312 kB / 272.2 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.0244/0.02443, allocations: 16.92 MB / 289.1 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1215/0.146, allocations: 5.594 MB / 294.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002608/0.1486, allocations: 128.3 kB / 294.9 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003258/0.1518, allocations: 1.262 MB / 296.1 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004743/0.1566, allocations: 1.68 MB / 297.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002593/0.1592, allocations: 1.099 MB / 298.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006974/0.1661, allocations: 5.404 MB / 304.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003063/0.1692, allocations: 2.238 MB / 306.5 MB, free: 9.691 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005056/0.1743, allocations: 3.364 MB / 309.9 MB, free: 7.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003678/0.1779, allocations: 2.411 MB / 312.3 MB, free: 6.691 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009578/0.1789, allocations: 0.6141 MB / 312.9 MB, free: 6.691 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001825/0.1807, allocations: 0.8419 MB / 313.8 MB, free: 6.594 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008752/0.1816, allocations: 1.491 MB / 315.3 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001976/0.1836, allocations: 1.813 MB / 317.1 MB, free: 3.801 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009122/0.1927, allocations: 8.267 MB / 325.4 MB, free: 11.74 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.1927, allocations: 0 / 325.4 MB, free: 11.74 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1927, allocations: 4 kB / 325.4 MB, free: 11.74 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002456/0.193, allocations: 3.938 kB / 325.4 MB, free: 11.73 MB / 282.7 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.019/0.212, allocations: 6.154 MB / 331.5 MB, free: 5.535 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.212, allocations: 11.98 kB / 331.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0076/0.2196, allocations: 1.521 MB / 333 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007516/0.2271, allocations: 2.911 MB / 336 MB, free: 1.086 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003255/0.2274, allocations: 302.7 kB / 336.3 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001108/0.2286, allocations: 400.3 kB / 336.6 MB, free: 408 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01123/0.2398, allocations: 5.428 MB / 342.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/0.2399, allocations: 15.86 kB / 342.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004211/0.2403, allocations: 164 kB / 342.2 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002037/0.2405, allocations: 172 kB / 342.4 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008816/0.2493, allocations: 3.912 MB / 346.3 MB, free: 6.566 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04308/0.2924, allocations: 25.35 MB / 371.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006301/0.2987, allocations: 3.035 MB / 374.7 MB, free: 9.137 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00434/0.303, allocations: 1.837 MB / 376.5 MB, free: 7.312 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01044/0.3135, allocations: 4.195 MB / 380.7 MB, free: 3.113 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.572e-05/0.3136, allocations: 58.62 kB / 380.8 MB, free: 3.043 MB / 330.7 MB Notification: Performance of pre-optimization done (n=157): time 3.446e-06/0.3136, allocations: 0 / 380.8 MB, free: 3.043 MB / 330.7 MB Notification: Performance of matching and sorting (n=160): time 0.01278/0.3263, allocations: 5.062 MB / 385.9 MB, free: 13.94 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.276e-05/0.3264, allocations: 68.72 kB / 385.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004462/0.3309, allocations: 2.666 MB / 388.6 MB, free: 11.15 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001683/0.331, allocations: 53.7 kB / 388.6 MB, free: 11.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002075/0.3331, allocations: 2.179 MB / 390.8 MB, free: 8.906 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008343/0.3339, allocations: 0.6312 MB / 391.5 MB, free: 8.281 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008697/0.3348, allocations: 0.5055 MB / 392 MB, free: 7.766 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002347/0.3351, allocations: 484.8 kB / 392.4 MB, free: 7.289 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0014/0.3365, allocations: 0.6484 MB / 393.1 MB, free: 6.637 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002568/0.339, allocations: 1.793 MB / 394.9 MB, free: 4.391 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004221/0.3432, allocations: 2.675 MB / 397.6 MB, free: 1.281 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.61e-05/0.3433, allocations: 4 kB / 397.6 MB, free: 1.277 MB / 346.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005386/0.3486, allocations: 2.585 MB / 400.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.646e-05/0.3487, allocations: 16 kB / 400.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.792e-05/0.3487, allocations: 24 kB / 400.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004678/0.3492, allocations: 162.8 kB / 400.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002085/0.3513, allocations: 0.5226 MB / 400.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002869/0.3541, allocations: 2.615 MB / 403.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/0.3559, allocations: 99.97 kB / 403.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001889/0.3561, allocations: 107.9 kB / 403.7 MB, free: 11 MB / 362.7 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.002147/0.3583, allocations: 1.074 MB / 404.8 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006052/0.3589, allocations: 294.4 kB / 405 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004397/0.3633, allocations: 1.973 MB / 407 MB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/0.3633, allocations: 19.94 kB / 407 MB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/0.3633, allocations: 8 kB / 407 MB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-05/0.3633, allocations: 11.97 kB / 407.1 MB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01166/0.375, allocations: 5.754 MB / 412.8 MB, free: 1.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.375, allocations: 192 / 412.8 MB, free: 1.773 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/0.3763, allocations: 275.6 kB / 413.1 MB, free: 1.504 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001181/0.3775, allocations: 379.8 kB / 413.4 MB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001183/0.3776, allocations: 43.98 kB / 413.5 MB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009643/0.3872, allocations: 8.457 MB / 421.9 MB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.368e-06/0.3872, allocations: 8.031 kB / 422 MB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006199/0.3934, allocations: 2.976 MB / 424.9 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00142/0.3949, allocations: 402.3 kB / 425.3 MB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003346/0.3952, allocations: 35.94 kB / 425.4 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.3963, allocations: 71.94 kB / 425.4 MB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003309/0.3966, allocations: 121 kB / 425.5 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.3967, allocations: 51.92 kB / 425.6 MB, free: 4.555 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002667/0.3994, allocations: 1.509 MB / 427.1 MB, free: 3.027 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3994, allocations: 0 / 427.1 MB, free: 3.027 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00274/0.4021, allocations: 0.6718 MB / 427.8 MB, free: 2.355 MB / 378.7 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.0004506/0.4026, allocations: 181.9 kB / 428 MB, free: 2.172 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004222/0.4068, allocations: 2.047 MB / 430 MB, free: 108 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.4068, allocations: 4 kB / 430 MB, free: 104 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.108/0.5148, allocations: 1.502 MB / 431.5 MB, free: 114.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/0.5174, allocations: 0.5187 MB / 432 MB, free: 114.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.528, allocations: 6.609 MB / 438.6 MB, free: 112.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00224/0.5303, allocations: 2.006 MB / 440.6 MB, free: 112.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001675/0.5319, allocations: 465.1 kB / 441.1 MB, free: 112 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004487/0.5324, allocations: 156.6 kB / 441.2 MB, free: 112 MB / 378.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5324, allocations: 4.75 kB / 441.3 MB, free: 112 MB / 378.7 MB Notification: Performance of Templates: time 0.04524/0.5776, allocations: 29.91 MB / 471.2 MB, free: 92.43 MB / 378.7 MB " [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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.473592108930461]