Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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.00131/0.00131, allocations: 109.6 kB / 21.18 MB, free: 0.7188 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.001469/0.001469, allocations: 216.7 kB / 24.49 MB, free: 4.094 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 55.92 kB / 347.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2565, allocations: 49.16 MB / 396.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01073/0.2672, allocations: 11.53 MB / 407.9 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008128/0.2754, allocations: 3.928 MB / 411.8 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002174/0.2775, allocations: 71.38 kB / 411.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002437/0.28, allocations: 0.8645 MB / 412.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003746/0.2837, allocations: 0.9936 MB / 413.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.2854, allocations: 0.535 MB / 414.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004831/0.2903, allocations: 3.223 MB / 417.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002757/0.293, allocations: 1.451 MB / 419 MB, free: 9.496 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002572/0.2956, allocations: 1.459 MB / 420.4 MB, free: 8.648 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003623/0.2992, allocations: 1.854 MB / 422.3 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001114/0.3003, allocations: 388.7 kB / 422.7 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002171/0.3025, allocations: 0.703 MB / 423.4 MB, free: 7.188 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001737/0.3042, allocations: 1.086 MB / 424.4 MB, free: 6.359 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003532/0.3078, allocations: 1.725 MB / 426.2 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007056/0.3148, allocations: 5.066 MB / 431.2 MB, free: 316 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.3148, allocations: 0 / 431.2 MB, free: 316 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3148, allocations: 0 / 431.2 MB, free: 316 kB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001345/0.315, allocations: 0 / 431.2 MB, free: 316 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.007867/0.3228, allocations: 3.483 MB / 434.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.3229, allocations: 15.98 kB / 434.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004985/0.3234, allocations: 362.8 kB / 435.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/0.3248, allocations: 430.7 kB / 435.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003441/0.3282, allocations: 1.663 MB / 437.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/0.3284, allocations: 197 kB / 437.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004189/0.3288, allocations: 255.9 kB / 437.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006018/0.3348, allocations: 3.243 MB / 440.9 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.929e-05/0.3349, allocations: 7.938 kB / 440.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002682/0.3351, allocations: 104 kB / 441 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001524/0.3353, allocations: 120.9 kB / 441.1 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005427/0.3407, allocations: 2.697 MB / 443.8 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02121/0.3619, allocations: 10.11 MB / 453.9 MB, free: 9.113 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002546/0.3645, allocations: 1.261 MB / 455.2 MB, free: 7.848 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002011/0.3665, allocations: 0.968 MB / 456.1 MB, free: 6.875 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003151/0.3668, allocations: 56.95 kB / 456.2 MB, free: 6.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.722e-05/0.3669, allocations: 47.56 kB / 456.2 MB, free: 6.766 MB / 366.1 MB Notification: Performance of pre-optimization done (n=115): time 4.058e-06/0.3669, allocations: 0 / 456.2 MB, free: 6.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=134): time 0.01908/0.3859, allocations: 7.071 MB / 463.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.386, allocations: 64.72 kB / 463.4 MB, free: 15.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003426/0.3894, allocations: 1.873 MB / 465.2 MB, free: 13.72 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001675/0.3896, allocations: 49.61 kB / 465.3 MB, free: 13.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001308/0.3909, allocations: 1.283 MB / 466.6 MB, free: 12.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005935/0.3915, allocations: 483.9 kB / 467 MB, free: 11.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006237/0.3921, allocations: 299.4 kB / 467.3 MB, free: 11.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.3923, allocations: 309.1 kB / 467.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001574/0.3938, allocations: 0.8042 MB / 468.4 MB, free: 10.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001912/0.3958, allocations: 1.313 MB / 469.7 MB, free: 8.957 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003611/0.3994, allocations: 2.255 MB / 472 MB, free: 6.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.989e-05/0.3994, allocations: 4 kB / 472 MB, free: 6.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005588/0.405, allocations: 2.709 MB / 474.7 MB, free: 3.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.708e-05/0.405, allocations: 15.98 kB / 474.7 MB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-05/0.405, allocations: 16 kB / 474.7 MB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/0.4061, allocations: 432.1 kB / 475.2 MB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/0.4077, allocations: 403.3 kB / 475.6 MB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006948/0.4147, allocations: 5.573 MB / 481.1 MB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/0.4166, allocations: 131.8 kB / 481.3 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000297/0.4169, allocations: 71.98 kB / 481.3 MB, free: 12.89 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 182 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(3,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001727/0.4186, allocations: 0.7862 MB / 482.1 MB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006633/0.4193, allocations: 210.7 kB / 482.3 MB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004802/0.4241, allocations: 2.3 MB / 484.6 MB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.664e-05/0.4241, allocations: 12 kB / 484.6 MB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.635e-05/0.4241, allocations: 11.94 kB / 484.6 MB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/0.4241, allocations: 7.969 kB / 484.7 MB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01148/0.4356, allocations: 5.159 MB / 489.8 MB, free: 4.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.4356, allocations: 4.625 kB / 489.8 MB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/0.4368, allocations: 247.6 kB / 490.1 MB, free: 4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001363/0.4382, allocations: 462 kB / 490.5 MB, free: 3.539 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000132/0.4383, allocations: 35.98 kB / 490.5 MB, free: 3.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008403/0.4467, allocations: 7.021 MB / 497.6 MB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/0.4467, allocations: 7.938 kB / 497.6 MB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006582/0.4533, allocations: 3.5 MB / 0.4893 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001292/0.4546, allocations: 386.5 kB / 0.4897 GB, free: 8.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005284/0.4551, allocations: 32 kB / 0.4897 GB, free: 8.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/0.4566, allocations: 104 kB / 0.4898 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003179/0.4569, allocations: 120.5 kB / 0.4899 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/0.457, allocations: 43.98 kB / 0.49 GB, free: 7.867 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002605/0.4597, allocations: 1.294 MB / 0.4912 GB, free: 6.582 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4597, allocations: 0 / 0.4912 GB, free: 6.582 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002387/0.462, allocations: 0.5507 MB / 0.4918 GB, free: 6.031 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 111 * Array equations: 2 * 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 {(3,12,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.007156/0.4692, allocations: 4.162 MB / 0.4959 GB, free: 1.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004651/0.4738, allocations: 2.259 MB / 0.4981 GB, free: 15.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.4739, allocations: 3.938 kB / 0.4981 GB, free: 15.47 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002791/0.4766, allocations: 1.455 MB / 0.4995 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002777/0.4794, allocations: 450.1 kB / 0.4999 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0404/0.5198, allocations: 20.36 MB / 0.5198 GB, free: 8.391 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002684/0.5225, allocations: 2.006 MB / 0.5218 GB, free: 6.352 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001548/0.524, allocations: 427.6 kB / 0.5222 GB, free: 5.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001795/0.5258, allocations: 0.9952 MB / 0.5231 GB, free: 4.934 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5258, allocations: 0 / 0.5231 GB, free: 4.934 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2886/0.8145, allocations: 50.49 MB / 0.5724 GB, free: 149.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.5/16.31, allocations: 16.92 kB / 0.5725 GB, free: 149.8 MB / 478.1 MB " [Timeout remaining time 644] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_fmu --startTime=0 --stopTime=30 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 24.112232913961634]