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.0009261/0.0009261, allocations: 91.67 kB / 21.2 MB, free: 3.367 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.0008822/0.0008822, allocations: 160.5 kB / 24.56 MB, free: 12 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 0.9556/0.9556, allocations: 177 MB / 204.8 MB, free: 5.586 MB / 186.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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.[0-9,]+.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..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.[0-9,]+.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.003036/0.003038, allocations: 6.25 kB / 272.9 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.04286/0.0459, allocations: 17.06 MB / 290 MB, free: 280 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.148/0.1939, allocations: 5.614 MB / 295.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003258/0.1972, allocations: 129.8 kB / 295.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004095/0.2013, allocations: 1.269 MB / 297 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005844/0.2071, allocations: 1.686 MB / 298.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002758/0.2099, allocations: 1.091 MB / 299.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006404/0.2163, allocations: 5.434 MB / 305.2 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003164/0.2195, allocations: 2.234 MB / 307.5 MB, free: 9.719 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005034/0.2245, allocations: 3.364 MB / 310.8 MB, free: 7.887 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003334/0.2278, allocations: 2.414 MB / 313.2 MB, free: 6.672 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001259/0.2291, allocations: 0.6131 MB / 313.8 MB, free: 6.672 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001862/0.231, allocations: 0.8403 MB / 314.7 MB, free: 6.574 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008146/0.2318, allocations: 1.489 MB / 316.2 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002291/0.2341, allocations: 1.81 MB / 318 MB, free: 3.719 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003907/0.238, allocations: 4.308 MB / 322.3 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.238, allocations: 0 / 322.3 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.238, allocations: 0 / 322.3 MB, free: 15.63 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.00014/0.2381, allocations: 0 / 322.3 MB, free: 15.63 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.00845/0.2466, allocations: 5.692 MB / 328 MB, free: 9.895 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.2466, allocations: 23.92 kB / 328 MB, free: 9.871 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003321/0.2499, allocations: 1.514 MB / 329.5 MB, free: 8.359 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004114/0.254, allocations: 2.869 MB / 332.4 MB, free: 5.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000314/0.2544, allocations: 300.5 kB / 332.7 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004089/0.2548, allocations: 398.9 kB / 333.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004823/0.2596, allocations: 3.203 MB / 336.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.993e-05/0.2597, allocations: 7.938 kB / 336.3 MB, free: 1.457 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002487/0.2599, allocations: 160 kB / 336.4 MB, free: 1.301 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001361/0.2601, allocations: 172 kB / 336.6 MB, free: 1.129 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003334/0.2634, allocations: 1.526 MB / 338.1 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01769/0.2811, allocations: 13.51 MB / 351.6 MB, free: 1.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003102/0.2842, allocations: 2.422 MB / 354.1 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002064/0.2863, allocations: 1.319 MB / 355.4 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00555/0.2918, allocations: 3.244 MB / 358.6 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/0.2918, allocations: 50.64 kB / 358.7 MB, free: 10.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=157): time 3.246e-06/0.2919, allocations: 0 / 358.7 MB, free: 10.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=160): time 0.007744/0.2996, allocations: 3.754 MB / 362.4 MB, free: 7.148 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.2996, allocations: 68.72 kB / 362.5 MB, free: 7.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002377/0.302, allocations: 1.87 MB / 364.4 MB, free: 5.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.152e-05/0.3021, allocations: 53.7 kB / 364.4 MB, free: 5.102 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001196/0.3033, allocations: 2.017 MB / 366.4 MB, free: 3.074 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003878/0.3037, allocations: 0.5905 MB / 367 MB, free: 2.492 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004467/0.3041, allocations: 421.7 kB / 367.4 MB, free: 2.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.3042, allocations: 484.7 kB / 367.9 MB, free: 1.594 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000603/0.3048, allocations: 308.1 kB / 368.2 MB, free: 1.289 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.3061, allocations: 1.352 MB / 369.6 MB, free: 15.49 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001802/0.3079, allocations: 1.82 MB / 371.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-05/0.3079, allocations: 4 kB / 371.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.002905/0.3108, allocations: 1.871 MB / 373.3 MB, free: 11.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.3108, allocations: 19.12 kB / 373.3 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.599e-05/0.3108, allocations: 24 kB / 373.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003253/0.3112, allocations: 132.8 kB / 373.4 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.3123, allocations: 0.5265 MB / 374 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001808/0.3141, allocations: 2.412 MB / 376.4 MB, free: 8.102 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.3152, allocations: 104 kB / 376.5 MB, free: 8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.3153, allocations: 99.98 kB / 376.6 MB, free: 7.902 MB / 330.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.0009512/0.3163, allocations: 295.8 kB / 376.9 MB, free: 7.602 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003269/0.3166, allocations: 294.4 kB / 377.1 MB, free: 7.312 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/0.3187, allocations: 1.411 MB / 378.6 MB, free: 5.883 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.3187, allocations: 16 kB / 378.6 MB, free: 5.867 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.3187, allocations: 7.984 kB / 378.6 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.3187, allocations: 3.984 kB / 378.6 MB, free: 5.855 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005833/0.3245, allocations: 4.062 MB / 382.6 MB, free: 1.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3245, allocations: 0 / 382.6 MB, free: 1.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006531/0.3252, allocations: 275.6 kB / 382.9 MB, free: 1.461 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006393/0.3258, allocations: 294.9 kB / 383.2 MB, free: 1.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-05/0.3259, allocations: 39.98 kB / 383.2 MB, free: 1.121 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005038/0.331, allocations: 7.401 MB / 390.6 MB, free: 9.371 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.331, allocations: 4.031 kB / 390.6 MB, free: 9.367 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003006/0.334, allocations: 1.924 MB / 392.6 MB, free: 7.379 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007273/0.3347, allocations: 414.2 kB / 393 MB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/0.3349, allocations: 36 kB / 393 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005625/0.3354, allocations: 71.94 kB / 393.1 MB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/0.3357, allocations: 125 kB / 393.2 MB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.996e-05/0.3357, allocations: 47.98 kB / 393.2 MB, free: 6.695 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001379/0.3371, allocations: 1.037 MB / 394.3 MB, free: 5.641 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3371, allocations: 4 kB / 394.3 MB, free: 5.637 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001799/0.3389, allocations: 0.6679 MB / 395 MB, free: 4.969 MB / 346.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.0003293/0.3392, allocations: 186.7 kB / 395.1 MB, free: 4.781 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00201/0.3412, allocations: 1.346 MB / 396.5 MB, free: 3.418 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.3413, allocations: 4 kB / 396.5 MB, free: 3.414 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001405/0.3427, allocations: 1.195 MB / 397.7 MB, free: 2.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.3441, allocations: 0.5294 MB / 398.2 MB, free: 1.641 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009448/0.3536, allocations: 6.144 MB / 404.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008178/0.3544, allocations: 0.9383 MB / 405.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001257/0.3557, allocations: 459 kB / 405.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003639/0.356, allocations: 164.5 kB / 405.9 MB, free: 9.859 MB / 362.7 MB Notification: Performance of SimCode: time 2.365e-06/0.356, allocations: 0 / 405.9 MB, free: 9.859 MB / 362.7 MB Notification: Performance of Templates: time 0.1692/0.5253, allocations: 29.93 MB / 435.8 MB, free: 105.6 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.138452473562211]