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.001301/0.001301, allocations: 116.5 kB / 18.5 MB, free: 4.434 MB / 14.72 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.001459/0.001459, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 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.444/1.444, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_trunk_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_trunk_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.001894/0.001894, allocations: 63.89 kB / 373.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09802/0.09992, allocations: 53.32 MB / 426.7 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.2126/0.3125, allocations: 17.35 MB / 444 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01198/0.3245, allocations: 5.711 MB / 449.7 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004063/0.3285, allocations: 104.7 kB / 449.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004743/0.3333, allocations: 1.315 MB / 451.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007759/0.341, allocations: 1.642 MB / 452.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003956/0.345, allocations: 1.098 MB / 453.9 MB, free: 11.15 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009956/0.3549, allocations: 5.225 MB / 459.1 MB, free: 8.496 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004783/0.3597, allocations: 2.949 MB / 462.1 MB, free: 7.117 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004338/0.3641, allocations: 2.196 MB / 464.3 MB, free: 6.008 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005888/0.37, allocations: 2.68 MB / 466.9 MB, free: 4.469 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002035/0.372, allocations: 0.614 MB / 467.6 MB, free: 4.469 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003581/0.3756, allocations: 0.8557 MB / 468.4 MB, free: 4.348 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002434/0.378, allocations: 1.433 MB / 469.8 MB, free: 3.191 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008022/0.386, allocations: 2.652 MB / 472.5 MB, free: 1.262 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01486/0.4009, allocations: 8.158 MB / 480.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.4009, allocations: 0 / 480.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.155e-06/0.4009, allocations: 0 / 480.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000334/0.4012, allocations: 0 / 480.7 MB, free: 11.11 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.01721/0.4184, allocations: 5.538 MB / 486.2 MB, free: 5.539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.4185, allocations: 8.031 kB / 486.2 MB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001151/0.4196, allocations: 0.6028 MB / 486.8 MB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00547/0.4251, allocations: 1.028 MB / 487.8 MB, free: 3.883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0071/0.4322, allocations: 3.013 MB / 490.9 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002812/0.4325, allocations: 308 kB / 491.2 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008363/0.4333, allocations: 405.1 kB / 491.5 MB, free: 124 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01003/0.4433, allocations: 5.225 MB / 496.8 MB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.952e-05/0.4434, allocations: 4 kB / 496.8 MB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003826/0.4438, allocations: 164 kB / 496.9 MB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001821/0.444, allocations: 172 kB / 497.1 MB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008915/0.4529, allocations: 4.466 MB / 0.4898 GB, free: 5.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0333/0.4862, allocations: 16.74 MB / 0.5062 GB, free: 4.793 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008912/0.4951, allocations: 8.518 MB / 0.5145 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004366/0.4995, allocations: 1.99 MB / 0.5164 GB, free: 9.219 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01078/0.5103, allocations: 5.786 MB / 0.5221 GB, free: 3.102 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.855e-05/0.5103, allocations: 59.86 kB / 0.5221 GB, free: 3.035 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 3.877e-06/0.5103, allocations: 0 / 0.5221 GB, free: 3.035 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.01373/0.5241, allocations: 6.357 MB / 0.5283 GB, free: 12.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.5241, allocations: 72.66 kB / 0.5284 GB, free: 12.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004245/0.5284, allocations: 2.315 MB / 0.5307 GB, free: 10.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002577/0.5286, allocations: 53.7 kB / 0.5307 GB, free: 10.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001682/0.5303, allocations: 1.917 MB / 0.5326 GB, free: 8.105 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000704/0.531, allocations: 0.5694 MB / 0.5332 GB, free: 7.531 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006556/0.5317, allocations: 403.9 kB / 0.5335 GB, free: 7.129 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.5318, allocations: 305.1 kB / 0.5338 GB, free: 6.828 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/0.5334, allocations: 0.8591 MB / 0.5347 GB, free: 5.965 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002182/0.5356, allocations: 1.563 MB / 0.5362 GB, free: 4.074 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00407/0.5396, allocations: 2.586 MB / 0.5387 GB, free: 1.172 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.781e-05/0.5396, allocations: 12 kB / 0.5387 GB, free: 1.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005679/0.5453, allocations: 2.98 MB / 0.5416 GB, free: 14.14 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.831e-05/0.5454, allocations: 20.09 kB / 0.5417 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.223e-05/0.5454, allocations: 23.98 kB / 0.5417 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004704/0.5459, allocations: 177.6 kB / 0.5419 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/0.5479, allocations: 0.5343 MB / 0.5424 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002717/0.5506, allocations: 2.429 MB / 0.5447 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002131/0.5527, allocations: 119.9 kB / 0.5449 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002009/0.5529, allocations: 99.98 kB / 0.545 GB, free: 10.59 MB / 462.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.002506/0.5554, allocations: 1.2 MB / 0.5461 GB, free: 9.383 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006154/0.5561, allocations: 258.4 kB / 0.5464 GB, free: 9.129 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00489/0.5609, allocations: 2.516 MB / 0.5488 GB, free: 6.555 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.561, allocations: 12 kB / 0.5488 GB, free: 6.543 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.561, allocations: 8 kB / 0.5488 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.561, allocations: 7.969 kB / 0.5489 GB, free: 6.527 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01177/0.5728, allocations: 5.901 MB / 0.5546 GB, free: 0.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/0.5728, allocations: 0 / 0.5546 GB, free: 0.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/0.5741, allocations: 283.6 kB / 0.5549 GB, free: 228 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001068/0.5752, allocations: 374.9 kB / 0.5552 GB, free: 15.85 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001334/0.5753, allocations: 39.98 kB / 0.5553 GB, free: 15.81 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008088/0.5834, allocations: 7.393 MB / 0.5625 GB, free: 8.004 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/0.5834, allocations: 4.031 kB / 0.5625 GB, free: 8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00659/0.59, allocations: 3.661 MB / 0.5661 GB, free: 4.254 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001923/0.5919, allocations: 0.511 MB / 0.5666 GB, free: 3.723 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003858/0.5923, allocations: 36.38 kB / 0.5666 GB, free: 3.688 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/0.5934, allocations: 75.94 kB / 0.5667 GB, free: 3.613 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003461/0.5938, allocations: 121.1 kB / 0.5668 GB, free: 3.496 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.5939, allocations: 51.92 kB / 0.5669 GB, free: 3.445 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00277/0.5967, allocations: 1.573 MB / 0.5684 GB, free: 1.859 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5967, allocations: 0 / 0.5684 GB, free: 1.859 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003005/0.5997, allocations: 0.6796 MB / 0.5691 GB, free: 1.18 MB / 478.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.006956/0.6066, allocations: 4.283 MB / 0.5732 GB, free: 12.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004256/0.6109, allocations: 2.227 MB / 0.5754 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.6109, allocations: 4.375 kB / 0.5754 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002526/0.6134, allocations: 1.421 MB / 0.5768 GB, free: 9.078 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002991/0.6164, allocations: 0.6013 MB / 0.5774 GB, free: 8.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04414/0.6605, allocations: 24.43 MB / 0.6013 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002897/0.6634, allocations: 2.678 MB / 0.6039 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00187/0.6653, allocations: 0.5513 MB / 0.6044 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002091/0.6674, allocations: 1.479 MB / 0.6058 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of SimCode: time 1.252e-06/0.6674, allocations: 4 kB / 0.6059 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3306/0.998, allocations: 60.66 MB / 0.6651 GB, free: 144.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.68/16.68, allocations: 8.516 kB / 0.6651 GB, free: 144.5 MB / 0.5137 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/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 656] Reference file matches [Calling sys.exit(0), Time elapsed: 27.84520136890933]