Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.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.001342/0.001342, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001459/0.001459, allocations: 207.8 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.446/1.446, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 47.92 kB / 377.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2941, allocations: 53.37 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01539/0.3095, allocations: 11.31 MB / 442.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008597/0.3181, allocations: 4.043 MB / 446.5 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002641/0.3207, allocations: 103.3 kB / 446.6 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002902/0.3236, allocations: 0.9665 MB / 447.5 MB, free: 6.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004049/0.3277, allocations: 1.243 MB / 448.8 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.329, allocations: 0.5266 MB / 449.3 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005928/0.335, allocations: 4.659 MB / 454 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003374/0.3383, allocations: 2.078 MB / 456 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005418/0.3438, allocations: 2.178 MB / 458.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00528/0.349, allocations: 2.631 MB / 460.8 MB, free: 8.754 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001256/0.3503, allocations: 0.5508 MB / 461.4 MB, free: 8.203 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001777/0.3521, allocations: 0.6522 MB / 462 MB, free: 7.551 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001649/0.3537, allocations: 1.539 MB / 463.6 MB, free: 6.008 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003863/0.3576, allocations: 2.011 MB / 465.6 MB, free: 3.988 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009861/0.3674, allocations: 7.506 MB / 473.1 MB, free: 12.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.3674, allocations: 0 / 473.1 MB, free: 12.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3674, allocations: 4 kB / 473.1 MB, free: 12.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002524/0.3677, allocations: 3.938 kB / 473.1 MB, free: 12.45 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01379/0.3815, allocations: 4.744 MB / 477.8 MB, free: 7.648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.202e-05/0.3816, allocations: 20.02 kB / 477.9 MB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001044/0.3826, allocations: 0.4981 MB / 478.4 MB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001897/0.3845, allocations: 0.5448 MB / 478.9 MB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007134/0.3916, allocations: 2.544 MB / 481.5 MB, free: 3.961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003436/0.392, allocations: 271 kB / 481.7 MB, free: 3.695 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001312/0.3933, allocations: 348 kB / 482.1 MB, free: 3.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01125/0.4045, allocations: 5.28 MB / 487.3 MB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.869e-05/0.4046, allocations: 7.953 kB / 487.3 MB, free: 13.94 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000371/0.405, allocations: 144 kB / 487.5 MB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001997/0.4052, allocations: 187 kB / 487.7 MB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008588/0.4138, allocations: 4.287 MB / 492 MB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02874/0.4425, allocations: 13.4 MB / 0.4935 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004403/0.4469, allocations: 2.699 MB / 0.4962 GB, free: 8.918 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003479/0.4504, allocations: 1.866 MB / 0.498 GB, free: 7.051 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002623/0.4507, allocations: 53.97 kB / 0.498 GB, free: 6.996 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.813e-05/0.4507, allocations: 60.55 kB / 0.4981 GB, free: 6.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.939e-06/0.4507, allocations: 0 / 0.4981 GB, free: 6.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02113/0.4719, allocations: 9.615 MB / 0.5075 GB, free: 13.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.203e-05/0.4719, allocations: 77.41 kB / 0.5075 GB, free: 13.21 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004295/0.4762, allocations: 2.541 MB / 0.51 GB, free: 10.65 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000335/0.4766, allocations: 65.7 kB / 0.5101 GB, free: 10.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001465/0.478, allocations: 1.662 MB / 0.5117 GB, free: 8.898 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009095/0.4789, allocations: 0.7669 MB / 0.5125 GB, free: 8.125 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007518/0.4797, allocations: 420.4 kB / 0.5129 GB, free: 7.707 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4798, allocations: 301.1 kB / 0.5132 GB, free: 7.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002177/0.482, allocations: 1.301 MB / 0.5144 GB, free: 6.105 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002634/0.4846, allocations: 1.774 MB / 0.5162 GB, free: 4.145 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004832/0.4895, allocations: 3.215 MB / 0.5193 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.577e-05/0.4895, allocations: 7.938 kB / 0.5193 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007642/0.4971, allocations: 4.073 MB / 0.5233 GB, free: 12.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.344e-05/0.4972, allocations: 10.81 kB / 0.5233 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.127e-05/0.4972, allocations: 12 kB / 0.5233 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003114/0.5003, allocations: 0.8818 MB / 0.5242 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002218/0.5025, allocations: 0.5265 MB / 0.5247 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01167/0.5142, allocations: 9.084 MB / 0.5335 GB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002582/0.5168, allocations: 119.9 kB / 0.5337 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003623/0.5172, allocations: 84 kB / 0.5337 GB, free: 1.574 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,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 (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003102/0.5203, allocations: 1.215 MB / 0.5349 GB, free: 356 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008588/0.5211, allocations: 298.1 kB / 0.5352 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2329/0.754, allocations: 3.695 MB / 0.5388 GB, free: 99.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-05/0.754, allocations: 25.17 kB / 0.5388 GB, free: 99.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.612e-05/0.754, allocations: 6.125 kB / 0.5389 GB, free: 99.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-05/0.7541, allocations: 11.89 kB / 0.5389 GB, free: 99.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01238/0.7664, allocations: 7.541 MB / 0.5462 GB, free: 97.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.7664, allocations: 3.469 kB / 0.5462 GB, free: 97.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001511/0.768, allocations: 386.3 kB / 0.5466 GB, free: 97.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002827/0.7708, allocations: 0.9197 MB / 0.5475 GB, free: 96.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001693/0.771, allocations: 58.14 kB / 0.5476 GB, free: 96.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008204/0.7792, allocations: 10.59 MB / 0.5579 GB, free: 86.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.7792, allocations: 4 kB / 0.5579 GB, free: 86.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007197/0.7864, allocations: 5.504 MB / 0.5633 GB, free: 81.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001989/0.7883, allocations: 0.584 MB / 0.5638 GB, free: 81.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003866/0.7887, allocations: 51.98 kB / 0.5639 GB, free: 81.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/0.7901, allocations: 111.9 kB / 0.564 GB, free: 80.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004364/0.7906, allocations: 192.8 kB / 0.5642 GB, free: 80.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/0.7907, allocations: 59.92 kB / 0.5642 GB, free: 80.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002111/0.7928, allocations: 1.743 MB / 0.5659 GB, free: 78.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7928, allocations: 0 / 0.5659 GB, free: 78.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0022/0.795, allocations: 0.7949 MB / 0.5667 GB, free: 78.14 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * 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: 4 * 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): 4 systems {(3,25,88.9%), (2,12,100.0%), (1,1,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.006905/0.8019, allocations: 6.207 MB / 0.5728 GB, free: 72.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004742/0.8066, allocations: 3.614 MB / 0.5763 GB, free: 68.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/0.8066, allocations: 6.312 kB / 0.5763 GB, free: 68.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002929/0.8096, allocations: 2.323 MB / 0.5786 GB, free: 66.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003146/0.8127, allocations: 0.7836 MB / 0.5793 GB, free: 65.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03421/0.8469, allocations: 29.66 MB / 0.6083 GB, free: 34.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00184/0.8488, allocations: 2.232 MB / 0.6105 GB, free: 32.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001801/0.8506, allocations: 0.6906 MB / 0.6112 GB, free: 31.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00141/0.852, allocations: 1.413 MB / 0.6125 GB, free: 30.52 MB / 446.1 MB Notification: Performance of SimCode: time 1.242e-06/0.852, allocations: 0 / 0.6125 GB, free: 30.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1478/0.9998, allocations: 79.33 MB / 0.69 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.28/15.28, allocations: 0 / 0.69 GB, free: 15.97 MB / 0.4981 GB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.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.276864466024563]