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.001987/0.001987, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.002448/0.002448, allocations: 213.6 kB / 23.75 MB, free: 4.668 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.474/1.474, allocations: 230.6 MB / 257.5 MB, free: 7.992 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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 43.92 kB / 377.8 MB, free: 3.094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2573, allocations: 53.37 MB / 431.2 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.02239/0.2797, allocations: 17.41 MB / 448.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0124/0.2921, allocations: 5.725 MB / 454.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003024/0.2951, allocations: 127.2 kB / 454.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004503/0.2996, allocations: 1.317 MB / 455.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00588/0.3055, allocations: 1.65 MB / 457.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003768/0.3092, allocations: 1.118 MB / 458.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008633/0.3179, allocations: 5.243 MB / 463.7 MB, free: 6.121 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005029/0.3229, allocations: 2.313 MB / 466.1 MB, free: 3.723 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003777/0.3267, allocations: 2.247 MB / 468.3 MB, free: 1.469 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005129/0.3318, allocations: 2.666 MB / 471 MB, free: 14.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001653/0.3335, allocations: 0.6172 MB / 471.6 MB, free: 14.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002743/0.3362, allocations: 0.863 MB / 472.5 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002205/0.3384, allocations: 1.433 MB / 473.9 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004934/0.3433, allocations: 2.649 MB / 476.5 MB, free: 9.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01265/0.356, allocations: 8.16 MB / 484.7 MB, free: 1.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.356, allocations: 0 / 484.7 MB, free: 1.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.356, allocations: 0 / 484.7 MB, free: 1.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002459/0.3562, allocations: 0 / 484.7 MB, free: 1.027 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.01645/0.3727, allocations: 5.453 MB / 490.1 MB, free: 11.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.3727, allocations: 12.03 kB / 490.2 MB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001993/0.3747, allocations: 0.6027 MB / 490.8 MB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005981/0.3807, allocations: 1.032 MB / 491.8 MB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007459/0.3882, allocations: 2.941 MB / 494.7 MB, free: 6.852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003146/0.3885, allocations: 308 kB / 495 MB, free: 6.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009722/0.3895, allocations: 399.9 kB / 495.4 MB, free: 6.156 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01017/0.3996, allocations: 5.225 MB / 0.4889 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.738e-05/0.3997, allocations: 8 kB / 0.4889 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003954/0.4001, allocations: 164 kB / 0.4891 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001878/0.4003, allocations: 172 kB / 0.4892 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008812/0.4091, allocations: 4.462 MB / 0.4936 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0317/0.4408, allocations: 16.36 MB / 0.5096 GB, free: 11.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006285/0.4471, allocations: 3.244 MB / 0.5127 GB, free: 8.164 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004351/0.4515, allocations: 1.979 MB / 0.5147 GB, free: 6.195 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01046/0.4619, allocations: 4.619 MB / 0.5192 GB, free: 1.531 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.532e-05/0.462, allocations: 47.88 kB / 0.5192 GB, free: 1.477 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 4.027e-06/0.462, allocations: 0 / 0.5192 GB, free: 1.477 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.01425/0.4762, allocations: 5.905 MB / 0.525 GB, free: 11.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.4763, allocations: 68.72 kB / 0.5251 GB, free: 11.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004694/0.481, allocations: 2.315 MB / 0.5273 GB, free: 9.113 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001721/0.4812, allocations: 53.7 kB / 0.5274 GB, free: 9.055 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001641/0.4828, allocations: 1.913 MB / 0.5292 GB, free: 7.121 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006006/0.4834, allocations: 0.5772 MB / 0.5298 GB, free: 6.539 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007359/0.4841, allocations: 399.9 kB / 0.5302 GB, free: 6.141 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.4843, allocations: 305.1 kB / 0.5305 GB, free: 5.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/0.486, allocations: 0.8553 MB / 0.5313 GB, free: 4.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002244/0.4882, allocations: 1.571 MB / 0.5329 GB, free: 3.082 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004093/0.4923, allocations: 2.59 MB / 0.5354 GB, free: 176 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.35e-05/0.4923, allocations: 8 kB / 0.5354 GB, free: 168 kB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.2241/0.7164, allocations: 2.899 MB / 0.5382 GB, free: 96.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.073e-05/0.7165, allocations: 14.78 kB / 0.5382 GB, free: 96.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.814e-05/0.7165, allocations: 22.81 kB / 0.5383 GB, free: 96.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004601/0.717, allocations: 181.8 kB / 0.5384 GB, free: 96.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001936/0.7189, allocations: 0.5284 MB / 0.5389 GB, free: 96.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/0.7208, allocations: 2.341 MB / 0.5412 GB, free: 94.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/0.7226, allocations: 112.2 kB / 0.5413 GB, free: 94.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/0.7228, allocations: 96.62 kB / 0.5414 GB, free: 94.77 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.001975/0.7248, allocations: 1.195 MB / 0.5426 GB, free: 94.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004109/0.7252, allocations: 265.8 kB / 0.5428 GB, free: 94.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003909/0.7291, allocations: 2.36 MB / 0.5452 GB, free: 93.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.7291, allocations: 15.84 kB / 0.5452 GB, free: 93.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.7291, allocations: 11.78 kB / 0.5452 GB, free: 93.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/0.7291, allocations: 7.594 kB / 0.5452 GB, free: 93.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008156/0.7373, allocations: 5.723 MB / 0.5508 GB, free: 90.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.7373, allocations: 3.938 kB / 0.5508 GB, free: 90.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/0.7385, allocations: 281.5 kB / 0.551 GB, free: 90.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000837/0.7393, allocations: 371.6 kB / 0.5514 GB, free: 90.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/0.7394, allocations: 42.94 kB / 0.5514 GB, free: 90.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005571/0.745, allocations: 7.081 MB / 0.5584 GB, free: 84.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.745, allocations: 10.27 kB / 0.5584 GB, free: 84.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005001/0.75, allocations: 3.504 MB / 0.5618 GB, free: 82.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/0.7511, allocations: 449.3 kB / 0.5622 GB, free: 82.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004627/0.7516, allocations: 39.94 kB / 0.5623 GB, free: 82.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.7528, allocations: 83.92 kB / 0.5623 GB, free: 82.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002435/0.7531, allocations: 121 kB / 0.5625 GB, free: 82.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.561e-05/0.7532, allocations: 47.98 kB / 0.5625 GB, free: 82.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002309/0.7555, allocations: 1.569 MB / 0.564 GB, free: 80.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.7555, allocations: 4 kB / 0.564 GB, free: 80.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002165/0.7576, allocations: 0.672 MB / 0.5647 GB, free: 80.09 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.004983/0.7626, allocations: 4.15 MB / 0.5687 GB, free: 75.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003257/0.7659, allocations: 2.157 MB / 0.5708 GB, free: 73.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.7659, allocations: 0.5 kB / 0.5708 GB, free: 73.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001845/0.7677, allocations: 1.414 MB / 0.5722 GB, free: 72.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/0.7704, allocations: 0.6074 MB / 0.5728 GB, free: 71.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03397/0.8044, allocations: 24.32 MB / 0.5966 GB, free: 46.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002361/0.8067, allocations: 2.674 MB / 0.5992 GB, free: 43.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001602/0.8083, allocations: 0.5474 MB / 0.5997 GB, free: 43.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001591/0.8099, allocations: 1.483 MB / 0.6012 GB, free: 41.78 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.8099, allocations: 0 / 0.6012 GB, free: 41.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1153/0.9252, allocations: 62.27 MB / 0.662 GB, free: 12.07 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.63/17.55, allocations: 6.031 kB / 0.662 GB, free: 12.07 MB / 478.1 MB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/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/jenkins1/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 656] Reference file matches [Calling sys.exit(0), Time elapsed: 27.224236080190167]