Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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.001771/0.001771, allocations: 112.4 kB / 18.5 MB, free: 4.582 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.002003/0.002003, allocations: 204.9 kB / 21.46 MB, free: 1.629 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.429/1.429, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMR_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMR_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 67.89 kB / 373.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1153, allocations: 53.32 MB / 426.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.2406/0.3559, allocations: 10.28 MB / 437 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006618/0.3626, allocations: 3.317 MB / 440.3 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.3643, allocations: 58.19 kB / 440.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001831/0.3662, allocations: 0.7509 MB / 441.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003083/0.3693, allocations: 0.874 MB / 441.9 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.3705, allocations: 426.4 kB / 442.4 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004168/0.3746, allocations: 2.988 MB / 445.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002515/0.3771, allocations: 1.787 MB / 447.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002872/0.38, allocations: 1.369 MB / 448.5 MB, free: 380 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003568/0.3836, allocations: 1.738 MB / 450.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009985/0.3846, allocations: 353.6 kB / 450.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/0.3862, allocations: 474.1 kB / 451.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001383/0.3876, allocations: 1.03 MB / 452.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00282/0.3904, allocations: 1.61 MB / 453.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007294/0.3977, allocations: 4.718 MB / 458.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.3977, allocations: 4 kB / 458.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.3977, allocations: 4 kB / 458.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001708/0.3979, allocations: 0 / 458.4 MB, free: 11.45 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.009696/0.4076, allocations: 3.345 MB / 461.8 MB, free: 9.129 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/0.4077, allocations: 10.06 kB / 461.8 MB, free: 9.129 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006224/0.4083, allocations: 347.2 kB / 462.1 MB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/0.4097, allocations: 374.9 kB / 462.5 MB, free: 8.684 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004444/0.4141, allocations: 1.786 MB / 464.3 MB, free: 7.418 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002041/0.4143, allocations: 183.2 kB / 464.4 MB, free: 7.328 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005147/0.4149, allocations: 236.5 kB / 464.7 MB, free: 7.246 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006442/0.4213, allocations: 3.136 MB / 467.8 MB, free: 5.367 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.877e-05/0.4214, allocations: 7.578 kB / 467.8 MB, free: 5.363 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002496/0.4216, allocations: 95.94 kB / 467.9 MB, free: 5.289 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000152/0.4218, allocations: 110.7 kB / 468 MB, free: 5.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00531/0.4271, allocations: 2.693 MB / 470.7 MB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01963/0.4467, allocations: 9.657 MB / 480.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003057/0.4498, allocations: 2.084 MB / 482.5 MB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001937/0.4517, allocations: 1.042 MB / 483.5 MB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003365/0.452, allocations: 212.1 kB / 483.7 MB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.4521, allocations: 43.56 kB / 483.7 MB, free: 7.484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.106e-06/0.4521, allocations: 4 kB / 483.8 MB, free: 7.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.01517/0.4673, allocations: 6.878 MB / 490.6 MB, free: 444 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.4673, allocations: 68.72 kB / 490.7 MB, free: 364 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002871/0.4702, allocations: 1.763 MB / 492.5 MB, free: 14.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001444/0.4703, allocations: 45.7 kB / 492.5 MB, free: 14.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001225/0.4716, allocations: 1.186 MB / 493.7 MB, free: 13.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004866/0.472, allocations: 476 kB / 494.2 MB, free: 12.87 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004826/0.4725, allocations: 283.4 kB / 494.4 MB, free: 12.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.4727, allocations: 313.1 kB / 494.7 MB, free: 12.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001432/0.4741, allocations: 0.7964 MB / 495.5 MB, free: 11.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/0.4759, allocations: 1.201 MB / 496.7 MB, free: 10.1 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003398/0.4793, allocations: 2.1 MB / 498.8 MB, free: 7.836 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.4793, allocations: 4 kB / 498.8 MB, free: 7.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004885/0.4842, allocations: 2.671 MB / 0.4898 GB, free: 5.121 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.4842, allocations: 11.98 kB / 0.4898 GB, free: 5.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/0.4842, allocations: 12 kB / 0.4898 GB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.4852, allocations: 423.4 kB / 0.4902 GB, free: 4.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.4866, allocations: 355.4 kB / 0.4905 GB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008464/0.4951, allocations: 7.076 MB / 0.4974 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/0.4968, allocations: 107.9 kB / 0.4975 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.497, allocations: 63.98 kB / 0.4976 GB, free: 12.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001895/0.4988, allocations: 0.794 MB / 0.4984 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004877/0.4993, allocations: 194.8 kB / 0.4986 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004306/0.5036, allocations: 2.368 MB / 0.5009 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/0.5037, allocations: 19.94 kB / 0.5009 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.5037, allocations: 4 kB / 0.5009 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.697e-05/0.5037, allocations: 7.969 kB / 0.5009 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009833/0.5135, allocations: 5.089 MB / 0.5059 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.5135, allocations: 8.828 kB / 0.5059 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009953/0.5145, allocations: 240 kB / 0.5061 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001153/0.5157, allocations: 454.1 kB / 0.5065 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.311e-05/0.5158, allocations: 39.92 kB / 0.5066 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01014/0.5259, allocations: 8.651 MB / 0.515 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.5259, allocations: 4 kB / 0.515 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006679/0.5326, allocations: 3.511 MB / 0.5185 GB, free: 6.465 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/0.534, allocations: 443.8 kB / 0.5189 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005655/0.5345, allocations: 35.94 kB / 0.5189 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/0.5358, allocations: 83.91 kB / 0.519 GB, free: 5.895 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003129/0.5361, allocations: 120.7 kB / 0.5191 GB, free: 5.777 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.5362, allocations: 47.98 kB / 0.5192 GB, free: 5.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002459/0.5387, allocations: 1.203 MB / 0.5203 GB, free: 4.535 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5387, allocations: 0 / 0.5203 GB, free: 4.535 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002369/0.541, allocations: 0.5077 MB / 0.5208 GB, free: 4.027 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006363/0.5474, allocations: 4.156 MB / 0.5249 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004261/0.5517, allocations: 2.387 MB / 0.5272 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/0.5517, allocations: 4 kB / 0.5272 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002658/0.5543, allocations: 1.56 MB / 0.5287 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002999/0.5573, allocations: 483.5 kB / 0.5292 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0348/0.5921, allocations: 19.54 MB / 0.5483 GB, free: 7.004 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002151/0.5943, allocations: 2.001 MB / 0.5502 GB, free: 4.965 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00142/0.5957, allocations: 455.4 kB / 0.5507 GB, free: 4.516 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001282/0.597, allocations: 0.9211 MB / 0.5516 GB, free: 3.594 MB / 462.1 MB Notification: Performance of SimCode: time 1.543e-06/0.597, allocations: 0 / 0.5516 GB, free: 3.594 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1109/0.7078, allocations: 48.41 MB / 0.5989 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.97/26.68, allocations: 7.375 kB / 0.5989 GB, free: 3.555 MB / 0.4981 GB " [Timeout remaining time 633] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMR_DOL_fmu --startTime=0 --stopTime=2.5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMR_DOL.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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: 29.57430507382378]