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.001726/0.001726, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.00232/0.00232, allocations: 215 kB / 24.47 MB, free: 3.777 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.356/1.356, allocations: 207.7 MB / 235.3 MB, free: 9.793 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.001728/0.001728, allocations: 55.92 kB / 347.2 MB, free: 9.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2384, allocations: 49.16 MB / 396.4 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01123/0.2497, allocations: 10.04 MB / 406.4 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007815/0.2575, allocations: 3.705 MB / 410.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002458/0.2599, allocations: 71.38 kB / 410.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002445/0.2624, allocations: 0.8149 MB / 411 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003217/0.2656, allocations: 0.9884 MB / 412 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.2669, allocations: 0.5244 MB / 412.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003773/0.2707, allocations: 3.225 MB / 415.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00197/0.2726, allocations: 1.392 MB / 417.1 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002222/0.2749, allocations: 1.471 MB / 418.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002972/0.2778, allocations: 1.732 MB / 420.3 MB, free: 9.355 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007216/0.2786, allocations: 387.4 kB / 420.7 MB, free: 9.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001572/0.2801, allocations: 0.6026 MB / 421.3 MB, free: 9.219 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001218/0.2813, allocations: 1.082 MB / 422.4 MB, free: 8.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002269/0.2836, allocations: 1.402 MB / 423.8 MB, free: 7.477 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005968/0.2896, allocations: 5.075 MB / 428.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2896, allocations: 0 / 428.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2896, allocations: 0 / 428.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.853e-05/0.2897, allocations: 0 / 428.9 MB, free: 2.484 MB / 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.007106/0.2968, allocations: 3.479 MB / 432.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.2968, allocations: 19.92 kB / 432.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004798/0.2973, allocations: 366.9 kB / 432.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/0.2987, allocations: 426.7 kB / 433.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003185/0.3019, allocations: 1.67 MB / 434.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/0.302, allocations: 189 kB / 435 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003785/0.3024, allocations: 248 kB / 435.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005635/0.308, allocations: 3.373 MB / 438.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.528e-05/0.3081, allocations: 11.92 kB / 438.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002339/0.3083, allocations: 100 kB / 438.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001595/0.3085, allocations: 116.9 kB / 438.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004919/0.3134, allocations: 2.69 MB / 441.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01595/0.3294, allocations: 9.292 MB / 450.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00214/0.3315, allocations: 1.254 MB / 452.1 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001802/0.3333, allocations: 0.9758 MB / 453 MB, free: 9.734 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002283/0.3335, allocations: 56.95 kB / 453.1 MB, free: 9.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.3336, allocations: 47.56 kB / 453.1 MB, free: 9.625 MB / 366.1 MB Notification: Performance of pre-optimization done (n=115): time 3.777e-06/0.3336, allocations: 0 / 453.1 MB, free: 9.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=134): time 0.01749/0.3511, allocations: 7.056 MB / 460.2 MB, free: 2.539 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.3511, allocations: 68.72 kB / 460.3 MB, free: 2.461 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003214/0.3543, allocations: 1.904 MB / 462.2 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.3544, allocations: 45.7 kB / 462.2 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.3555, allocations: 1.279 MB / 463.5 MB, free: 15.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004501/0.356, allocations: 495.8 kB / 464 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005174/0.3565, allocations: 303.4 kB / 464.3 MB, free: 14.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3566, allocations: 301.1 kB / 464.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/0.3581, allocations: 0.8042 MB / 465.4 MB, free: 13.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001871/0.3599, allocations: 1.324 MB / 466.7 MB, free: 11.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003526/0.3635, allocations: 2.247 MB / 468.9 MB, free: 9.312 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.642e-05/0.3635, allocations: 4 kB / 468.9 MB, free: 9.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005248/0.3687, allocations: 2.713 MB / 471.7 MB, free: 6.578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/0.3688, allocations: 12 kB / 471.7 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.088e-05/0.3688, allocations: 16 kB / 471.7 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.3699, allocations: 426.5 kB / 472.1 MB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/0.3714, allocations: 403.3 kB / 472.5 MB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006769/0.3782, allocations: 5.538 MB / 478 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/0.3798, allocations: 119.8 kB / 478.2 MB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002159/0.3801, allocations: 75.98 kB / 478.2 MB, free: 15.77 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.001499/0.3816, allocations: 0.7862 MB / 479 MB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005539/0.3821, allocations: 210.7 kB / 479.2 MB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004478/0.3866, allocations: 2.288 MB / 481.5 MB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.214e-05/0.3866, allocations: 16 kB / 481.5 MB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.3866, allocations: 7.938 kB / 481.5 MB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.3867, allocations: 11.97 kB / 481.5 MB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/0.3967, allocations: 4.855 MB / 486.4 MB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/0.3967, allocations: 4 kB / 486.4 MB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.3978, allocations: 256.2 kB / 486.7 MB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001227/0.399, allocations: 454 kB / 487.1 MB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/0.3991, allocations: 39.98 kB / 487.1 MB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008099/0.4072, allocations: 6.982 MB / 494.1 MB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.4072, allocations: 7.938 kB / 494.1 MB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006089/0.4133, allocations: 3.496 MB / 497.6 MB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/0.4145, allocations: 382.6 kB / 498 MB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004622/0.415, allocations: 39.98 kB / 498 MB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/0.4163, allocations: 99.88 kB / 498.1 MB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002561/0.4165, allocations: 124.5 kB / 498.3 MB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.4166, allocations: 43.98 kB / 498.3 MB, free: 11.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002276/0.4189, allocations: 1.294 MB / 499.6 MB, free: 9.801 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4189, allocations: 0 / 499.6 MB, free: 9.801 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001995/0.4209, allocations: 0.543 MB / 0.4884 GB, free: 9.258 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.006593/0.4275, allocations: 4.162 MB / 0.4925 GB, free: 5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004284/0.4318, allocations: 2.259 MB / 0.4947 GB, free: 2.707 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.4318, allocations: 7.938 kB / 0.4947 GB, free: 2.699 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002649/0.4344, allocations: 1.447 MB / 0.4961 GB, free: 1.215 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00242/0.4369, allocations: 462.2 kB / 0.4965 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03427/0.4711, allocations: 20.35 MB / 0.5164 GB, free: 11.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002106/0.4732, allocations: 1.447 MB / 0.5178 GB, free: 10.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001361/0.4746, allocations: 427.7 kB / 0.5182 GB, free: 9.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001483/0.4761, allocations: 0.9952 MB / 0.5192 GB, free: 8.734 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4761, allocations: 3.938 kB / 0.5192 GB, free: 8.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.266/0.7421, allocations: 52.04 MB / 0.57 GB, free: 149.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.6, allocations: 10.31 kB / 0.57 GB, free: 149.5 MB / 478.1 MB " [Timeout remaining time 646] (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: 21.074476290028542]