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.001918/0.001918, allocations: 103.6 kB / 21.18 MB, free: 332 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.002364/0.002364, allocations: 209.4 kB / 24.47 MB, free: 3.547 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.355/1.355, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.001783/0.001783, allocations: 55.92 kB / 347.2 MB, free: 9.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2577, allocations: 49.14 MB / 396.4 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01017/0.2678, allocations: 10.05 MB / 406.4 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00697/0.2748, allocations: 3.696 MB / 410.1 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001888/0.2767, allocations: 71.09 kB / 410.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00215/0.2788, allocations: 0.8191 MB / 411 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003428/0.2823, allocations: 0.9963 MB / 412 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.2836, allocations: 0.518 MB / 412.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004186/0.2878, allocations: 3.225 MB / 415.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001998/0.2898, allocations: 1.391 MB / 417.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002492/0.2923, allocations: 1.466 MB / 418.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00287/0.2952, allocations: 1.74 MB / 420.3 MB, free: 9.348 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005986/0.2958, allocations: 387.8 kB / 420.7 MB, free: 9.348 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.2973, allocations: 0.6018 MB / 421.3 MB, free: 9.211 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001107/0.2984, allocations: 1.083 MB / 422.4 MB, free: 8.387 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001988/0.3004, allocations: 1.393 MB / 423.8 MB, free: 7.477 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00582/0.3062, allocations: 5.078 MB / 428.9 MB, free: 2.492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3062, allocations: 0 / 428.9 MB, free: 2.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.3063, allocations: 3.984 kB / 428.9 MB, free: 2.488 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.153e-05/0.3063, allocations: 0 / 428.9 MB, free: 2.488 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.006944/0.3133, allocations: 3.483 MB / 432.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3133, allocations: 15.98 kB / 432.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004584/0.3138, allocations: 358.8 kB / 432.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/0.315, allocations: 430.7 kB / 433.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003069/0.3181, allocations: 1.667 MB / 434.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001563/0.3182, allocations: 197 kB / 435 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003765/0.3186, allocations: 251.9 kB / 435.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005589/0.3242, allocations: 3.369 MB / 438.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-05/0.3243, allocations: 3.938 kB / 438.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002447/0.3245, allocations: 104 kB / 438.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001408/0.3246, allocations: 116.9 kB / 438.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004641/0.3293, allocations: 2.697 MB / 441.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01632/0.3456, allocations: 9.296 MB / 450.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002067/0.3477, allocations: 1.258 MB / 452.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001786/0.3495, allocations: 0.968 MB / 453 MB, free: 9.734 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002262/0.3497, allocations: 52.97 kB / 453.1 MB, free: 9.684 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.3497, allocations: 47.56 kB / 453.1 MB, free: 9.629 MB / 366.1 MB Notification: Performance of pre-optimization done (n=115): time 3.657e-06/0.3497, allocations: 4 kB / 453.1 MB, free: 9.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=134): time 0.01698/0.3667, allocations: 7.064 MB / 460.2 MB, free: 2.531 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.3668, allocations: 64.72 kB / 460.3 MB, free: 2.457 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002984/0.3698, allocations: 1.9 MB / 462.2 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.3699, allocations: 49.7 kB / 462.2 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009997/0.3709, allocations: 1.276 MB / 463.5 MB, free: 15.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004103/0.3713, allocations: 495.8 kB / 464 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000463/0.3717, allocations: 291.5 kB / 464.3 MB, free: 14.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3719, allocations: 309.1 kB / 464.6 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/0.3732, allocations: 0.812 MB / 465.4 MB, free: 13.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001763/0.375, allocations: 1.317 MB / 466.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003293/0.3783, allocations: 2.251 MB / 468.9 MB, free: 9.312 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.3783, allocations: 4 kB / 468.9 MB, free: 9.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005012/0.3833, allocations: 2.713 MB / 471.7 MB, free: 6.578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.3833, allocations: 19.92 kB / 471.7 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.491e-05/0.3834, allocations: 16 kB / 471.7 MB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.3844, allocations: 418.5 kB / 472.1 MB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/0.3858, allocations: 395.3 kB / 472.5 MB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00647/0.3923, allocations: 5.538 MB / 478 MB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/0.3941, allocations: 131.8 kB / 478.2 MB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/0.3942, allocations: 72 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.00135/0.3956, allocations: 0.7862 MB / 479 MB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004/0.396, allocations: 206.7 kB / 479.2 MB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00414/0.4001, allocations: 2.296 MB / 481.5 MB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.88e-05/0.4002, allocations: 12 kB / 481.5 MB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.4002, allocations: 7.938 kB / 481.5 MB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.4002, allocations: 11.97 kB / 481.5 MB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008959/0.4091, allocations: 4.855 MB / 486.4 MB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.4092, allocations: 4 kB / 486.4 MB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.4102, allocations: 256.2 kB / 486.7 MB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001143/0.4113, allocations: 458.2 kB / 487.1 MB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.4114, allocations: 35.98 kB / 487.1 MB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00785/0.4193, allocations: 6.982 MB / 494.1 MB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/0.4193, allocations: 7.938 kB / 494.1 MB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006487/0.4258, allocations: 3.497 MB / 497.6 MB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/0.4272, allocations: 386.5 kB / 498 MB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005873/0.4278, allocations: 39.98 kB / 498 MB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/0.4293, allocations: 95.89 kB / 498.1 MB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00029/0.4296, allocations: 120.6 kB / 498.2 MB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/0.4297, allocations: 47.92 kB / 498.3 MB, free: 11.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002729/0.4324, allocations: 1.291 MB / 499.6 MB, free: 9.805 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4324, allocations: 0 / 499.6 MB, free: 9.805 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003039/0.4355, allocations: 0.5547 MB / 0.4884 GB, free: 9.25 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.007555/0.443, allocations: 4.154 MB / 0.4925 GB, free: 5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004552/0.4476, allocations: 2.262 MB / 0.4947 GB, free: 2.703 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/0.4476, allocations: 4 kB / 0.4947 GB, free: 2.699 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002692/0.4503, allocations: 1.456 MB / 0.4961 GB, free: 1.207 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003064/0.4533, allocations: 450.2 kB / 0.4965 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04053/0.4939, 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.00186/0.4957, allocations: 1.447 MB / 0.5178 GB, free: 10.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0016/0.4973, allocations: 427.6 kB / 0.5182 GB, free: 9.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001403/0.4987, allocations: 0.9952 MB / 0.5192 GB, free: 8.734 MB / 446.1 MB Notification: Performance of SimCode: time 1.863e-06/0.4987, allocations: 0 / 0.5192 GB, free: 8.734 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3388/0.8375, allocations: 52.05 MB / 0.57 GB, free: 149.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/14.08, allocations: 1.875 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 & 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: 17.7264286368154]