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.001696/0.001696, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.002116/0.002116, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.339/1.339, allocations: 207.6 MB / 235.3 MB, free: 10.01 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.001797/0.001797, allocations: 57.66 kB / 347.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.269, allocations: 49.15 MB / 396.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01072/0.2797, allocations: 11.53 MB / 407.9 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008247/0.288, allocations: 3.936 MB / 411.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002286/0.2903, allocations: 67.44 kB / 411.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002813/0.2931, allocations: 0.8642 MB / 412.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003913/0.297, allocations: 0.9872 MB / 413.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.2988, allocations: 0.5354 MB / 414.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005151/0.304, allocations: 3.225 MB / 417.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002351/0.3063, allocations: 1.454 MB / 419 MB, free: 9.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002794/0.3091, allocations: 1.467 MB / 420.4 MB, free: 8.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003751/0.3129, allocations: 1.85 MB / 422.3 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008556/0.3137, allocations: 391 kB / 422.7 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.3154, allocations: 0.7 MB / 423.4 MB, free: 7.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001268/0.3167, allocations: 1.084 MB / 424.4 MB, free: 6.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003009/0.3197, allocations: 1.728 MB / 426.2 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007308/0.327, allocations: 5.067 MB / 431.2 MB, free: 320 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.327, allocations: 3.938 kB / 431.2 MB, free: 316 kB / 334.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.327, allocations: 0 / 431.2 MB, free: 316 kB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001626/0.3272, 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.008428/0.3356, allocations: 3.48 MB / 434.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3356, allocations: 11.98 kB / 434.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005668/0.3362, allocations: 358.9 kB / 435.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/0.3376, allocations: 426.7 kB / 435.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004167/0.3418, allocations: 1.674 MB / 437.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002633/0.342, allocations: 193 kB / 437.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008493/0.3429, allocations: 252 kB / 437.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009055/0.3519, allocations: 3.243 MB / 440.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.788e-05/0.352, allocations: 4 kB / 440.9 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003492/0.3524, allocations: 104 kB / 441 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002034/0.3526, allocations: 116.9 kB / 441.1 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007991/0.3606, allocations: 2.705 MB / 443.8 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02593/0.3865, allocations: 10.11 MB / 453.9 MB, free: 9.125 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003199/0.3897, allocations: 1.261 MB / 455.2 MB, free: 7.859 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002605/0.3923, allocations: 0.9757 MB / 456.1 MB, free: 6.879 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003207/0.3926, allocations: 56.94 kB / 456.2 MB, free: 6.824 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.176e-05/0.3927, allocations: 43.56 kB / 456.2 MB, free: 6.773 MB / 366.1 MB Notification: Performance of pre-optimization done (n=115): time 5.841e-06/0.3927, allocations: 0 / 456.2 MB, free: 6.773 MB / 366.1 MB Notification: Performance of matching and sorting (n=134): time 0.02059/0.4133, allocations: 7.068 MB / 463.3 MB, free: 15.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.4133, allocations: 68.72 kB / 463.4 MB, free: 15.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003082/0.4164, allocations: 1.873 MB / 465.2 MB, free: 13.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001664/0.4166, allocations: 53.69 kB / 465.3 MB, free: 13.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001078/0.4177, allocations: 1.275 MB / 466.6 MB, free: 12.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005024/0.4182, allocations: 491.9 kB / 467 MB, free: 11.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005034/0.4187, allocations: 295.4 kB / 467.3 MB, free: 11.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.4188, allocations: 305.1 kB / 467.6 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/0.4203, allocations: 0.812 MB / 468.4 MB, free: 10.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001992/0.4223, allocations: 1.313 MB / 469.8 MB, free: 8.961 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003901/0.4262, allocations: 2.247 MB / 472 MB, free: 6.492 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.4262, allocations: 8 kB / 472 MB, free: 6.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005514/0.4317, allocations: 2.713 MB / 474.7 MB, free: 3.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.4317, allocations: 12 kB / 474.7 MB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-05/0.4317, allocations: 16 kB / 474.7 MB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.4328, allocations: 426.4 kB / 475.2 MB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/0.4345, allocations: 399.3 kB / 475.6 MB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006958/0.4414, allocations: 5.581 MB / 481.1 MB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/0.4432, allocations: 127.9 kB / 481.3 MB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/0.4434, allocations: 75.98 kB / 481.3 MB, free: 12.9 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.001562/0.4449, allocations: 0.7824 MB / 482.1 MB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005301/0.4455, allocations: 206.7 kB / 482.3 MB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004535/0.45, allocations: 2.292 MB / 484.6 MB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.66e-05/0.45, allocations: 19.98 kB / 484.6 MB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.45, allocations: 7.938 kB / 484.6 MB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.4501, allocations: 7.984 kB / 484.6 MB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009655/0.4597, allocations: 5.147 MB / 489.8 MB, free: 4.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/0.4597, allocations: 15.92 kB / 489.8 MB, free: 4.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.4608, allocations: 256.2 kB / 490.1 MB, free: 4.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001248/0.4621, allocations: 454.1 kB / 490.5 MB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/0.4622, allocations: 39.98 kB / 490.5 MB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008495/0.4707, allocations: 7.021 MB / 497.6 MB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.4707, allocations: 8 kB / 497.6 MB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006307/0.477, allocations: 3.504 MB / 0.4893 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001267/0.4783, allocations: 386.6 kB / 0.4897 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003141/0.4786, allocations: 35.98 kB / 0.4897 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.4797, allocations: 104 kB / 0.4898 GB, free: 8.035 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002894/0.48, allocations: 120.6 kB / 0.4899 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.4801, allocations: 43.98 kB / 0.49 GB, free: 7.875 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002098/0.4822, allocations: 1.291 MB / 0.4912 GB, free: 6.594 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4822, allocations: 0 / 0.4912 GB, free: 6.594 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00187/0.4841, allocations: 0.5428 MB / 0.4918 GB, free: 6.051 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.006645/0.4907, allocations: 4.17 MB / 0.4958 GB, free: 1.781 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004343/0.4951, allocations: 2.263 MB / 0.4981 GB, free: 15.49 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.4951, allocations: 4.062 kB / 0.4981 GB, free: 15.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002606/0.4977, allocations: 1.447 MB / 0.4995 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/0.5, allocations: 458.1 kB / 0.4999 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03385/0.5338, allocations: 20.36 MB / 0.5198 GB, free: 8.406 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001988/0.5358, allocations: 2.01 MB / 0.5218 GB, free: 6.363 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001322/0.5371, allocations: 427.6 kB / 0.5222 GB, free: 5.941 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001414/0.5385, allocations: 0.9952 MB / 0.5231 GB, free: 4.945 MB / 446.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5385, allocations: 4 kB / 0.5231 GB, free: 4.941 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2837/0.8222, allocations: 50.49 MB / 0.5724 GB, free: 149.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.64/16.46, allocations: 8.938 kB / 0.5725 GB, free: 149.9 MB / 478.1 MB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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] "Error: Could not read variable constantSpeed.phi in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.csv. Warning: Get data of variable constantSpeed.phi from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.99632601600024]