Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001927/0.001927, allocations: 121.3 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002224/0.002224, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 230.2 MB / 254.5 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 64.12 kB / 373.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1056, allocations: 53.32 MB / 426.7 MB, free: 5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01545/0.1211, allocations: 12.99 MB / 439.7 MB, free: 7.957 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008615/0.1297, allocations: 4.272 MB / 443.9 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002378/0.1321, allocations: 83.62 kB / 444 MB, free: 3.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002684/0.1347, allocations: 1.037 MB / 445.1 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003909/0.1386, allocations: 1.239 MB / 446.3 MB, free: 1.301 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.1399, allocations: 0.5383 MB / 446.8 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2168/0.3567, allocations: 4.677 MB / 451.5 MB, free: 9.609 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00372/0.3604, allocations: 2.691 MB / 454.2 MB, free: 9.285 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004929/0.3653, allocations: 2.161 MB / 456.4 MB, free: 9.004 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00598/0.3713, allocations: 2.632 MB / 459 MB, free: 8.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001843/0.3732, allocations: 0.5562 MB / 459.6 MB, free: 8.586 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00275/0.3759, allocations: 0.6566 MB / 460.2 MB, free: 8.586 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001936/0.3779, allocations: 1.543 MB / 461.8 MB, free: 7.785 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005308/0.3832, allocations: 2.496 MB / 464.3 MB, free: 6.199 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01053/0.3937, allocations: 7.488 MB / 471.7 MB, free: 3.523 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.3937, allocations: 0 / 471.7 MB, free: 3.523 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3937, allocations: 0 / 471.7 MB, free: 3.523 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002458/0.3939, allocations: 1.438 kB / 471.7 MB, free: 3.523 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.01215/0.4061, allocations: 4.832 MB / 476.6 MB, free: 284 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.4061, allocations: 9.469 kB / 476.6 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009771/0.4071, allocations: 0.5213 MB / 477.1 MB, free: 0 / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001949/0.4091, allocations: 0.5532 MB / 477.7 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006018/0.4151, allocations: 2.617 MB / 480.3 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002548/0.4153, allocations: 268 kB / 480.5 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007339/0.4161, allocations: 358.6 kB / 480.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009176/0.4252, allocations: 5.055 MB / 485.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.011e-05/0.4253, allocations: 6.969 kB / 485.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000365/0.4257, allocations: 148.4 kB / 486.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001603/0.4259, allocations: 192 kB / 486.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007371/0.4332, allocations: 4.314 MB / 490.6 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02785/0.4611, allocations: 15.1 MB / 0.4938 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005137/0.4662, allocations: 4.063 MB / 0.4978 GB, free: 4.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003416/0.4696, allocations: 1.869 MB / 0.4996 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003053/0.4699, allocations: 135.7 kB / 0.4998 GB, free: 2.652 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.807e-05/0.47, allocations: 56.56 kB / 0.4998 GB, free: 2.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=198): time 4.528e-06/0.47, allocations: 4 kB / 0.4998 GB, free: 2.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=218): time 0.02189/0.4919, allocations: 10.01 MB / 0.5096 GB, free: 8.512 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/0.492, allocations: 73.41 kB / 0.5097 GB, free: 8.426 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00541/0.4974, allocations: 2.514 MB / 0.5121 GB, free: 5.891 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003122/0.4977, allocations: 61.7 kB / 0.5122 GB, free: 5.824 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001579/0.4993, allocations: 1.673 MB / 0.5138 GB, free: 4.141 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009324/0.5002, allocations: 0.7729 MB / 0.5146 GB, free: 3.383 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001061/0.5012, allocations: 420.4 kB / 0.515 GB, free: 2.965 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.5014, allocations: 305.1 kB / 0.5153 GB, free: 2.664 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002315/0.5037, allocations: 1.297 MB / 0.5165 GB, free: 1.363 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002743/0.5064, allocations: 1.777 MB / 0.5183 GB, free: 15.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00519/0.5116, allocations: 3.21 MB / 0.5214 GB, free: 12.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.79e-05/0.5117, allocations: 4 kB / 0.5214 GB, free: 12.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008151/0.5198, allocations: 4.073 MB / 0.5254 GB, free: 7.953 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.997e-05/0.5198, allocations: 18.17 kB / 0.5254 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.568e-05/0.5199, allocations: 12 kB / 0.5254 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003048/0.5229, allocations: 0.8798 MB / 0.5263 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002187/0.5251, allocations: 0.5295 MB / 0.5268 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01208/0.5372, allocations: 9.487 MB / 0.536 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00245/0.5396, allocations: 111.9 kB / 0.5362 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004308/0.5401, allocations: 88 kB / 0.5362 GB, free: 12.43 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.002835/0.5429, allocations: 1.227 MB / 0.5374 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000904/0.5438, allocations: 290.2 kB / 0.5377 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007375/0.5512, allocations: 3.699 MB / 0.5413 GB, free: 7.184 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/0.5512, allocations: 20 kB / 0.5413 GB, free: 7.164 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-05/0.5512, allocations: 12 kB / 0.5414 GB, free: 7.152 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.492e-05/0.5513, allocations: 11.95 kB / 0.5414 GB, free: 7.141 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01779/0.569, allocations: 8.01 MB / 0.5492 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/0.5691, allocations: 4 kB / 0.5492 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/0.5707, allocations: 387.6 kB / 0.5496 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003283/0.574, allocations: 0.9273 MB / 0.5505 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002378/0.5743, allocations: 55.98 kB / 0.5505 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01344/0.5877, allocations: 11.11 MB / 0.5614 GB, free: 2.02 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.5877, allocations: 4 kB / 0.5614 GB, free: 2.016 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01023/0.5979, allocations: 5.502 MB / 0.5667 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002409/0.6004, allocations: 0.6436 MB / 0.5674 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001082/0.6014, allocations: 55.98 kB / 0.5674 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002007/0.6034, allocations: 111.9 kB / 0.5675 GB, free: 11.62 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000491/0.6039, allocations: 181.7 kB / 0.5677 GB, free: 11.44 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001911/0.6041, allocations: 63.98 kB / 0.5678 GB, free: 11.38 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00375/0.6079, allocations: 1.739 MB / 0.5695 GB, free: 9.629 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6079, allocations: 3.938 kB / 0.5695 GB, free: 9.625 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003935/0.6118, allocations: 0.8046 MB / 0.5703 GB, free: 8.82 MB / 478.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.01035/0.6222, allocations: 6.193 MB / 0.5763 GB, free: 2.562 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006871/0.629, allocations: 3.777 MB / 0.58 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.629, allocations: 0 / 0.58 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004269/0.6333, allocations: 2.387 MB / 0.5823 GB, free: 12.24 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005055/0.6384, allocations: 0.7866 MB / 0.5831 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06214/0.7005, allocations: 29.64 MB / 0.612 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00429/0.7048, allocations: 2.786 MB / 0.6148 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002652/0.7074, allocations: 0.6868 MB / 0.6154 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002554/0.71, allocations: 1.425 MB / 0.6168 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of SimCode: time 1.002e-06/0.71, allocations: 4 kB / 0.6168 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3683/1.078, allocations: 74.36 MB / 0.6894 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.19/17.27, allocations: 8.422 kB / 0.6894 GB, free: 160.1 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 26.762615446932614]