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.001842/0.001842, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002355/0.002355, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.447/1.447, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.002823/0.002823, allocations: 51.92 kB / 378.2 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2516, allocations: 53.36 MB / 431.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.02045/0.272, allocations: 15.04 MB / 446.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01263/0.2846, allocations: 5.406 MB / 452 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003078/0.2877, allocations: 127.2 kB / 452.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004068/0.2918, allocations: 1.258 MB / 453.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005808/0.2976, allocations: 1.627 MB / 455.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00336/0.301, allocations: 1.075 MB / 456.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007441/0.3084, allocations: 5.217 MB / 461.3 MB, free: 8.836 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003666/0.3121, allocations: 2.227 MB / 463.6 MB, free: 6.527 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003191/0.3153, allocations: 2.247 MB / 465.8 MB, free: 4.273 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004333/0.3196, allocations: 2.506 MB / 468.3 MB, free: 1.758 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001262/0.3208, allocations: 0.6094 MB / 468.9 MB, free: 1.148 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002048/0.3229, allocations: 0.8435 MB / 469.8 MB, free: 312 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001437/0.3243, allocations: 1.43 MB / 471.2 MB, free: 14.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003093/0.3274, allocations: 2.101 MB / 473.3 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009705/0.3371, allocations: 8.195 MB / 481.5 MB, free: 4.539 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.3371, allocations: 3.984 kB / 481.5 MB, free: 4.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3371, allocations: 0 / 481.5 MB, free: 4.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001724/0.3373, allocations: 0 / 481.5 MB, free: 4.535 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.01425/0.3516, allocations: 5.453 MB / 487 MB, free: 15.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3516, allocations: 12.02 kB / 487 MB, free: 15 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005629/0.3572, allocations: 1.021 MB / 488 MB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007414/0.3646, allocations: 2.941 MB / 490.9 MB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003474/0.365, allocations: 308.2 kB / 491.2 MB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001163/0.3662, allocations: 400 kB / 491.6 MB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01187/0.378, allocations: 5.371 MB / 497 MB, free: 4.801 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001113/0.3781, allocations: 11.94 kB / 497 MB, free: 4.789 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005723/0.3787, allocations: 164 kB / 497.2 MB, free: 4.629 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002024/0.3789, allocations: 168 kB / 497.3 MB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01175/0.3907, allocations: 4.466 MB / 0.49 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04776/0.4384, allocations: 14.34 MB / 0.504 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/0.4496, allocations: 3.239 MB / 0.5072 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008002/0.4576, allocations: 1.984 MB / 0.5091 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01678/0.4744, allocations: 4.154 MB / 0.5132 GB, free: 7.977 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.962e-05/0.4745, allocations: 51.88 kB / 0.5133 GB, free: 7.918 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 6.823e-06/0.4745, allocations: 0 / 0.5133 GB, free: 7.918 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.02018/0.4946, allocations: 5.881 MB / 0.519 GB, free: 1.996 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/0.4947, allocations: 68.72 kB / 0.5191 GB, free: 1.918 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003687/0.4984, allocations: 2.11 MB / 0.5211 GB, free: 15.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001215/0.4985, allocations: 53.7 kB / 0.5212 GB, free: 15.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001684/0.5002, allocations: 1.931 MB / 0.5231 GB, free: 13.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006147/0.5008, allocations: 0.5772 MB / 0.5236 GB, free: 13.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006646/0.5015, allocations: 395.9 kB / 0.524 GB, free: 12.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5016, allocations: 305.1 kB / 0.5243 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001669/0.5033, allocations: 0.8631 MB / 0.5251 GB, free: 11.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002341/0.5056, allocations: 1.596 MB / 0.5267 GB, free: 9.695 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004194/0.5098, allocations: 2.586 MB / 0.5292 GB, free: 6.789 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.656e-05/0.5098, allocations: 8 kB / 0.5292 GB, free: 6.781 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.00545/0.5153, allocations: 2.889 MB / 0.532 GB, free: 3.879 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.5153, allocations: 19.94 kB / 0.5321 GB, free: 3.859 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.719e-05/0.5154, allocations: 23.98 kB / 0.5321 GB, free: 3.836 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004621/0.5158, allocations: 177.5 kB / 0.5323 GB, free: 3.656 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002117/0.5179, allocations: 0.5343 MB / 0.5328 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002727/0.5207, allocations: 2.28 MB / 0.535 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.5223, allocations: 111.8 kB / 0.5351 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001852/0.5225, allocations: 99.98 kB / 0.5352 GB, free: 0.5234 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.1953/0.7178, allocations: 1.196 MB / 0.5364 GB, free: 98.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006202/0.7184, allocations: 243 kB / 0.5366 GB, free: 98.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004363/0.7228, allocations: 2.34 MB / 0.5389 GB, free: 97.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.7228, allocations: 17.39 kB / 0.5389 GB, free: 97.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.7228, allocations: 6.609 kB / 0.5389 GB, free: 97.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.902e-05/0.7228, allocations: 7.828 kB / 0.5389 GB, free: 97.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008272/0.7311, allocations: 4.885 MB / 0.5437 GB, free: 95.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.7311, allocations: 7.297 kB / 0.5437 GB, free: 95.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/0.7323, allocations: 277.9 kB / 0.544 GB, free: 95.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009279/0.7332, allocations: 372.8 kB / 0.5443 GB, free: 95.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000137/0.7333, allocations: 42.02 kB / 0.5444 GB, free: 95.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005337/0.7387, allocations: 6.924 MB / 0.5511 GB, free: 90.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7387, allocations: 4.031 kB / 0.5511 GB, free: 90.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004803/0.7435, allocations: 3.488 MB / 0.5545 GB, free: 88.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/0.7446, allocations: 422.2 kB / 0.5549 GB, free: 88.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002991/0.7449, allocations: 35.56 kB / 0.555 GB, free: 88.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.746, allocations: 80.91 kB / 0.555 GB, free: 88.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002359/0.7462, allocations: 132.1 kB / 0.5552 GB, free: 88.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.391e-05/0.7463, allocations: 47.89 kB / 0.5552 GB, free: 88.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001956/0.7482, allocations: 1.394 MB / 0.5566 GB, free: 87.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7482, allocations: 0 / 0.5566 GB, free: 87.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002195/0.7504, allocations: 0.6721 MB / 0.5572 GB, free: 86.64 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.0003379/0.7508, allocations: 182.1 kB / 0.5574 GB, free: 86.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003315/0.7541, allocations: 2.163 MB / 0.5595 GB, free: 84.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.7541, allocations: 0 / 0.5595 GB, free: 84.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001874/0.756, allocations: 1.409 MB / 0.5609 GB, free: 83.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/0.7582, allocations: 0.5039 MB / 0.5614 GB, free: 82.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00936/0.7675, allocations: 7.017 MB / 0.5682 GB, free: 76.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001702/0.7692, allocations: 2.13 MB / 0.5703 GB, free: 73.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001541/0.7708, allocations: 0.5263 MB / 0.5708 GB, free: 73.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003989/0.7712, allocations: 159.4 kB / 0.571 GB, free: 73.21 MB / 446.1 MB Notification: Performance of SimCode: time 7.71e-07/0.7712, allocations: 0 / 0.571 GB, free: 73.21 MB / 446.1 MB Notification: Performance of Templates: time 0.04585/0.817, allocations: 34.68 MB / 0.6049 GB, free: 39.06 MB / 446.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/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_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: 6.472348487004638]