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.001302/0.001302, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.000997/0.000997, allocations: 161.9 kB / 24.91 MB, free: 8.719 MB / 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.9093/0.9093, allocations: 177 MB / 205.2 MB, free: 5.012 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 1.232e-06/1.232e-06, allocations: 0 / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.889e-06/1.112e-05, allocations: 5.406 kB / 273.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.0117/0.01171, allocations: 16.49 MB / 289.9 MB, free: 456 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1024/0.1141, allocations: 5.807 MB / 295.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001602/0.1157, allocations: 128.8 kB / 295.8 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002149/0.1179, allocations: 1.288 MB / 297.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002674/0.1205, allocations: 1.698 MB / 298.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.122, allocations: 1.096 MB / 299.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003611/0.1256, allocations: 5.441 MB / 305.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00192/0.1276, allocations: 2.305 MB / 307.7 MB, free: 9.793 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002728/0.1303, allocations: 3.729 MB / 311.4 MB, free: 7.852 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001832/0.1321, allocations: 2.507 MB / 313.9 MB, free: 6.617 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005368/0.1326, allocations: 0.6044 MB / 314.5 MB, free: 6.617 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008513/0.1335, allocations: 0.8383 MB / 315.3 MB, free: 6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005766/0.1341, allocations: 1.465 MB / 316.8 MB, free: 4.613 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001169/0.1352, allocations: 1.802 MB / 318.6 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00261/0.1379, allocations: 4.258 MB / 322.9 MB, free: 14.85 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1379, allocations: 0 / 322.9 MB, free: 14.85 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1379, allocations: 3.938 kB / 322.9 MB, free: 14.84 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.46e-05/0.1379, allocations: 0 / 322.9 MB, free: 14.84 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.005755/0.1437, allocations: 5.214 MB / 328.1 MB, free: 9.844 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.1437, allocations: 11.98 kB / 328.1 MB, free: 9.832 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002741/0.1464, allocations: 1.308 MB / 329.4 MB, free: 8.543 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002517/0.149, allocations: 1.889 MB / 331.3 MB, free: 6.641 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/0.1491, allocations: 303.1 kB / 331.6 MB, free: 6.344 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003849/0.1495, allocations: 403.6 kB / 332 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003055/0.1525, allocations: 2.998 MB / 335 MB, free: 2.996 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.95e-05/0.1526, allocations: 3.938 kB / 335 MB, free: 2.992 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002358/0.1528, allocations: 166.5 kB / 335.1 MB, free: 2.832 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001188/0.153, allocations: 172 kB / 335.3 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001965/0.1549, allocations: 1.194 MB / 336.5 MB, free: 1.422 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01087/0.1658, allocations: 10.62 MB / 347.1 MB, free: 6.957 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002172/0.168, allocations: 1.989 MB / 349.1 MB, free: 5.016 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/0.1694, allocations: 1.148 MB / 350.3 MB, free: 3.902 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003489/0.1729, allocations: 2.514 MB / 352.8 MB, free: 1.441 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.1729, allocations: 51.88 kB / 352.8 MB, free: 1.379 MB / 298.7 MB Notification: Performance of pre-optimization done (n=157): time 2.786e-06/0.1729, allocations: 3.938 kB / 352.8 MB, free: 1.375 MB / 298.7 MB Notification: Performance of matching and sorting (n=160): time 0.003914/0.1768, allocations: 2.741 MB / 355.6 MB, free: 14.61 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.1768, allocations: 68.72 kB / 355.6 MB, free: 14.54 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.1779, allocations: 1.544 MB / 357.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.21e-05/0.178, allocations: 57.7 kB / 357.2 MB, free: 13.19 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006683/0.1786, allocations: 1.622 MB / 358.9 MB, free: 11.58 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/0.1789, allocations: 0.5732 MB / 359.4 MB, free: 11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003468/0.1792, allocations: 383.7 kB / 359.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.152e-05/0.1793, allocations: 305.1 kB / 360.1 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/0.1796, allocations: 235.3 kB / 360.3 MB, free: 10.08 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005846/0.1802, allocations: 0.9475 MB / 361.3 MB, free: 8.805 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.1813, allocations: 1.415 MB / 362.7 MB, free: 7.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.1813, allocations: 11.94 kB / 362.7 MB, free: 7.059 MB / 314.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.001412/0.1827, allocations: 1.357 MB / 364.1 MB, free: 5.688 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.1827, allocations: 17.25 kB / 364.1 MB, free: 5.672 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.1827, allocations: 24 kB / 364.1 MB, free: 5.648 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002098/0.1829, allocations: 120.5 kB / 364.2 MB, free: 5.523 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.184, allocations: 0.4953 MB / 364.7 MB, free: 5.027 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/0.185, allocations: 1.715 MB / 366.4 MB, free: 3.203 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005945/0.1856, allocations: 79.94 kB / 366.5 MB, free: 3.125 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.301e-05/0.1857, allocations: 91.86 kB / 366.6 MB, free: 3.035 MB / 314.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.0005009/0.1862, allocations: 252 kB / 366.9 MB, free: 2.777 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.1864, allocations: 191.8 kB / 367 MB, free: 2.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.1877, allocations: 1.089 MB / 368.1 MB, free: 1.477 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.1877, allocations: 12 kB / 368.1 MB, free: 1.465 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.1877, allocations: 12 kB / 368.2 MB, free: 1.453 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.1877, allocations: 11.91 kB / 368.2 MB, free: 1.441 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003034/0.1907, allocations: 2.611 MB / 370.8 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1907, allocations: 0 / 370.8 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005947/0.1913, allocations: 263.8 kB / 371 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004631/0.1918, allocations: 248.6 kB / 371.3 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.629e-05/0.1919, allocations: 43.97 kB / 371.3 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003073/0.1949, allocations: 5.323 MB / 376.6 MB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1949, allocations: 3.938 kB / 376.6 MB, free: 8.625 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.1965, allocations: 1.457 MB / 378.1 MB, free: 7.117 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003792/0.1969, allocations: 250.4 kB / 378.3 MB, free: 6.871 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/0.197, allocations: 32 kB / 378.4 MB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004499/0.1975, allocations: 63.97 kB / 378.4 MB, free: 6.777 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.1976, allocations: 121 kB / 378.6 MB, free: 6.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.575e-05/0.1977, allocations: 31.98 kB / 378.6 MB, free: 6.625 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006695/0.1984, allocations: 0.7592 MB / 379.3 MB, free: 5.844 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1984, allocations: 0 / 379.3 MB, free: 5.844 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001265/0.1996, allocations: 0.6679 MB / 380 MB, free: 5.176 MB / 330.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.0002442/0.1999, allocations: 175.9 kB / 380.2 MB, free: 4.996 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.201, allocations: 1.064 MB / 381.3 MB, free: 3.922 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.132e-05/0.201, allocations: 29.81 kB / 381.3 MB, free: 3.895 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007946/0.2018, allocations: 0.9167 MB / 382.2 MB, free: 2.934 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.203, allocations: 0.5133 MB / 382.7 MB, free: 2.434 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006334/0.2093, allocations: 5.934 MB / 388.6 MB, free: 12.42 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006274/0.2099, allocations: 0.7782 MB / 389.4 MB, free: 11.62 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007187/0.2106, allocations: 319.2 kB / 389.7 MB, free: 11.31 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008425/0.2115, allocations: 0.5264 MB / 390.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of SimCode: time 7.91e-07/0.2115, allocations: 0 / 390.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of Templates: time 0.03887/0.2504, allocations: 31.67 MB / 421.9 MB, free: 11.53 MB / 378.7 MB " [Timeout remaining time 660] 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: 3.6823561200872064]