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.001675/0.001675, allocations: 114 kB / 20.43 MB, free: 1.457 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.00206/0.00206, allocations: 214 kB / 23.74 MB, free: 4.672 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.445/1.445, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.001877/0.001877, allocations: 63.91 kB / 377.8 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2403, allocations: 53.41 MB / 431.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.02102/0.2613, allocations: 17.41 MB / 448.6 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01149/0.2728, allocations: 5.722 MB / 454.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002931/0.2758, allocations: 131.2 kB / 454.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004144/0.2799, allocations: 1.312 MB / 455.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005838/0.2857, allocations: 1.658 MB / 457.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003614/0.2894, allocations: 1.124 MB / 458.6 MB, free: 11.24 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008468/0.2978, allocations: 5.24 MB / 463.8 MB, free: 5.988 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005354/0.3032, allocations: 2.321 MB / 466.1 MB, free: 3.582 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004107/0.3073, allocations: 2.243 MB / 468.4 MB, free: 1.332 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005476/0.3128, allocations: 2.674 MB / 471 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002231/0.315, allocations: 0.6133 MB / 471.7 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003169/0.3182, allocations: 0.863 MB / 472.5 MB, free: 13.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002553/0.3207, allocations: 1.437 MB / 474 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005486/0.3262, allocations: 2.649 MB / 476.6 MB, free: 9.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01337/0.3396, allocations: 8.156 MB / 484.8 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.3396, allocations: 0 / 484.8 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3396, allocations: 0 / 484.8 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003047/0.3399, allocations: 0 / 484.8 MB, free: 0.8867 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.01716/0.357, allocations: 5.453 MB / 490.2 MB, free: 11.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.3571, allocations: 8.031 kB / 490.2 MB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001979/0.3591, allocations: 0.6182 MB / 490.8 MB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006406/0.3655, allocations: 1.025 MB / 491.9 MB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007839/0.3733, allocations: 2.941 MB / 494.8 MB, free: 6.711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003499/0.3737, allocations: 308 kB / 495.1 MB, free: 6.406 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001252/0.3749, allocations: 400 kB / 495.5 MB, free: 6.016 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01359/0.3885, allocations: 5.225 MB / 0.489 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001795/0.3887, allocations: 3.953 kB / 0.489 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001015/0.3897, allocations: 164 kB / 0.4891 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002116/0.3899, allocations: 172 kB / 0.4893 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01142/0.4013, allocations: 4.466 MB / 0.4937 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03616/0.4375, allocations: 16.36 MB / 0.5096 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00655/0.444, allocations: 3.252 MB / 0.5128 GB, free: 8.016 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004358/0.4484, allocations: 1.975 MB / 0.5147 GB, free: 6.051 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009959/0.4584, allocations: 4.615 MB / 0.5193 GB, free: 1.387 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.712e-05/0.4584, allocations: 51.88 kB / 0.5193 GB, free: 1.328 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 3.256e-06/0.4584, allocations: 0 / 0.5193 GB, free: 1.328 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.01366/0.4721, allocations: 5.901 MB / 0.5251 GB, free: 11.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.4721, allocations: 72.66 kB / 0.5251 GB, free: 11.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00483/0.477, allocations: 2.312 MB / 0.5274 GB, free: 8.969 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002394/0.4772, allocations: 53.7 kB / 0.5274 GB, free: 8.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001737/0.4789, allocations: 1.917 MB / 0.5293 GB, free: 6.973 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006746/0.4796, allocations: 0.5733 MB / 0.5299 GB, free: 6.395 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008029/0.4804, allocations: 399.9 kB / 0.5303 GB, free: 5.996 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.4805, allocations: 305.1 kB / 0.5305 GB, free: 5.695 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001677/0.4822, allocations: 0.8514 MB / 0.5314 GB, free: 4.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00232/0.4845, allocations: 1.578 MB / 0.5329 GB, free: 2.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004132/0.4887, allocations: 2.582 MB / 0.5354 GB, free: 28 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.489e-05/0.4887, allocations: 8 kB / 0.5354 GB, free: 20 kB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.2166/0.7053, allocations: 2.903 MB / 0.5383 GB, free: 96.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/0.7054, allocations: 18.91 kB / 0.5383 GB, free: 96.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.412e-05/0.7054, allocations: 22.88 kB / 0.5383 GB, free: 96.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004337/0.7058, allocations: 178.1 kB / 0.5385 GB, free: 96.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001818/0.7077, allocations: 0.5331 MB / 0.539 GB, free: 96.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002111/0.7098, allocations: 2.337 MB / 0.5413 GB, free: 94.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/0.7116, allocations: 108.8 kB / 0.5414 GB, free: 94.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/0.7118, allocations: 97.94 kB / 0.5415 GB, free: 94.63 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.002281/0.7141, allocations: 1.197 MB / 0.5427 GB, free: 93.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005403/0.7146, allocations: 263.5 kB / 0.5429 GB, free: 93.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003773/0.7184, allocations: 2.361 MB / 0.5452 GB, free: 93.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.7184, allocations: 15.78 kB / 0.5452 GB, free: 93.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.7184, allocations: 3.969 kB / 0.5452 GB, free: 93.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/0.7184, allocations: 10.83 kB / 0.5452 GB, free: 93.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008054/0.7265, allocations: 5.728 MB / 0.5508 GB, free: 90.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.7265, allocations: 9.141 kB / 0.5508 GB, free: 90.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.7276, allocations: 276.1 kB / 0.5511 GB, free: 90.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008287/0.7284, allocations: 369.1 kB / 0.5515 GB, free: 90.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.409e-05/0.7285, allocations: 40.14 kB / 0.5515 GB, free: 90.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005359/0.7339, allocations: 7.08 MB / 0.5584 GB, free: 84.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.7339, allocations: 7.781 kB / 0.5584 GB, free: 84.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004766/0.7387, allocations: 3.503 MB / 0.5618 GB, free: 82.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/0.7397, allocations: 449.1 kB / 0.5623 GB, free: 82.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003138/0.74, allocations: 35.94 kB / 0.5623 GB, free: 82.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.7411, allocations: 85.89 kB / 0.5624 GB, free: 82.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002499/0.7413, allocations: 121 kB / 0.5625 GB, free: 82.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.338e-05/0.7414, allocations: 47.98 kB / 0.5625 GB, free: 82.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001874/0.7433, allocations: 1.569 MB / 0.5641 GB, free: 80.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7433, allocations: 0.5625 kB / 0.5641 GB, free: 80.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001964/0.7453, allocations: 0.67 MB / 0.5647 GB, free: 79.83 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.004715/0.75, allocations: 4.15 MB / 0.5688 GB, free: 75.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003192/0.7532, allocations: 2.163 MB / 0.5709 GB, free: 73.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.7532, allocations: 0 / 0.5709 GB, free: 73.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00182/0.755, allocations: 1.41 MB / 0.5723 GB, free: 72.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002573/0.7576, allocations: 0.6109 MB / 0.5729 GB, free: 71.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0328/0.7904, allocations: 24.32 MB / 0.5966 GB, free: 46.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00182/0.7922, allocations: 2.67 MB / 0.5992 GB, free: 43.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001492/0.7937, allocations: 0.5474 MB / 0.5998 GB, free: 43.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001427/0.7951, allocations: 1.487 MB / 0.6012 GB, free: 41.52 MB / 446.1 MB Notification: Performance of SimCode: time 1.433e-06/0.7951, allocations: 0 / 0.6012 GB, free: 41.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1171/0.9122, allocations: 62.26 MB / 0.662 GB, free: 11.72 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.4/17.31, allocations: 4.062 kB / 0.662 GB, free: 11.71 MB / 478.1 MB " [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/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_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.116148392902687]