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.001625/0.001625, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002042/0.002042, allocations: 213.4 kB / 23.74 MB, free: 4.688 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.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 8.043 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.001758/0.001758, allocations: 51.92 kB / 377.8 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3232, allocations: 53.36 MB / 431.2 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01505/0.3383, allocations: 13 MB / 444.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008861/0.3471, allocations: 4.284 MB / 448.4 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002221/0.3493, allocations: 103.3 kB / 448.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003125/0.3525, allocations: 1.029 MB / 449.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004489/0.3569, allocations: 1.251 MB / 450.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.3586, allocations: 0.5304 MB / 451.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006662/0.3653, allocations: 4.657 MB / 456 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004162/0.3695, allocations: 2.07 MB / 458.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004628/0.3741, allocations: 2.19 MB / 460.3 MB, free: 9.621 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004881/0.379, allocations: 2.631 MB / 462.9 MB, free: 6.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001841/0.3808, allocations: 0.5547 MB / 463.5 MB, free: 6.426 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002633/0.3834, allocations: 0.66 MB / 464.1 MB, free: 5.766 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002695/0.3861, allocations: 1.531 MB / 465.6 MB, free: 4.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005131/0.3913, allocations: 2.489 MB / 468.1 MB, free: 1.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01363/0.4049, allocations: 7.459 MB / 475.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.4049, allocations: 4 kB / 475.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4049, allocations: 0 / 475.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000246/0.4052, allocations: 0 / 475.6 MB, free: 10.24 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.01442/0.4196, allocations: 4.755 MB / 480.4 MB, free: 5.426 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.4196, allocations: 8.031 kB / 480.4 MB, free: 5.418 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001671/0.4213, allocations: 0.4942 MB / 480.9 MB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002437/0.4237, allocations: 0.5487 MB / 481.4 MB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006858/0.4306, allocations: 2.548 MB / 483.9 MB, free: 1.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003346/0.4309, allocations: 267 kB / 484.2 MB, free: 1.484 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001127/0.4321, allocations: 359.9 kB / 484.6 MB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0121/0.4442, allocations: 5.021 MB / 489.6 MB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001477/0.4443, allocations: 11.89 kB / 489.6 MB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008413/0.4451, allocations: 148 kB / 489.7 MB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002309/0.4454, allocations: 183 kB / 489.9 MB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009952/0.4553, allocations: 4.294 MB / 494.2 MB, free: 7.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03268/0.488, allocations: 14.59 MB / 0.4969 GB, free: 8.477 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005058/0.4931, allocations: 2.706 MB / 0.4995 GB, free: 5.809 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003663/0.4967, allocations: 1.87 MB / 0.5013 GB, free: 3.941 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003234/0.4971, allocations: 57.94 kB / 0.5014 GB, free: 3.883 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.325e-05/0.4971, allocations: 60.5 kB / 0.5015 GB, free: 3.816 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.937e-06/0.4971, allocations: 4 kB / 0.5015 GB, free: 3.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02359/0.5207, allocations: 9.612 MB / 0.5108 GB, free: 10.19 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.349e-05/0.5208, allocations: 77.41 kB / 0.5109 GB, free: 10.1 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005413/0.5262, allocations: 2.514 MB / 0.5134 GB, free: 7.562 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003105/0.5265, allocations: 61.7 kB / 0.5134 GB, free: 7.496 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001709/0.5282, allocations: 1.666 MB / 0.5151 GB, free: 5.812 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001104/0.5293, allocations: 0.7668 MB / 0.5158 GB, free: 5.039 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001019/0.5303, allocations: 416.5 kB / 0.5162 GB, free: 4.625 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.5305, allocations: 301.1 kB / 0.5165 GB, free: 4.328 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002627/0.5331, allocations: 1.301 MB / 0.5178 GB, free: 3.023 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002784/0.5359, allocations: 1.77 MB / 0.5195 GB, free: 1.066 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005532/0.5414, allocations: 3.223 MB / 0.5226 GB, free: 13.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.991e-05/0.5415, allocations: 7.938 kB / 0.5227 GB, free: 13.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00838/0.5498, allocations: 4.069 MB / 0.5266 GB, free: 9.559 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/0.5499, allocations: 8 kB / 0.5266 GB, free: 9.551 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.718e-05/0.5499, allocations: 16 kB / 0.5266 GB, free: 9.535 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00316/0.5531, allocations: 0.8834 MB / 0.5275 GB, free: 8.637 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002405/0.5555, allocations: 0.5305 MB / 0.528 GB, free: 8.105 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.224/0.7795, allocations: 9.163 MB / 0.537 GB, free: 96.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/0.7817, allocations: 120.9 kB / 0.5371 GB, free: 96.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002454/0.782, allocations: 86.25 kB / 0.5372 GB, free: 96.34 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.002253/0.7842, allocations: 1.223 MB / 0.5384 GB, free: 96.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006842/0.7849, allocations: 289 kB / 0.5386 GB, free: 96.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006084/0.791, allocations: 3.7 MB / 0.5423 GB, free: 95.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/0.791, allocations: 22 kB / 0.5423 GB, free: 95.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.596e-05/0.791, allocations: 6.875 kB / 0.5423 GB, free: 95.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.536e-05/0.7911, allocations: 11.81 kB / 0.5423 GB, free: 95.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0128/0.8039, allocations: 7.994 MB / 0.5501 GB, free: 92.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.8039, allocations: 5.938 kB / 0.5501 GB, free: 92.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/0.8054, allocations: 379.9 kB / 0.5505 GB, free: 92.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002893/0.8083, allocations: 0.9358 MB / 0.5514 GB, free: 91.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001617/0.8085, allocations: 57.8 kB / 0.5514 GB, free: 91.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008796/0.8173, allocations: 10.68 MB / 0.5619 GB, free: 82.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.8173, allocations: 7.938 kB / 0.5619 GB, free: 82.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007038/0.8243, allocations: 5.509 MB / 0.5673 GB, free: 77.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001743/0.826, allocations: 0.5784 MB / 0.5678 GB, free: 76.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004185/0.8265, allocations: 51.98 kB / 0.5679 GB, free: 76.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/0.8278, allocations: 115.9 kB / 0.568 GB, free: 76.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004613/0.8283, allocations: 189.6 kB / 0.5682 GB, free: 76.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/0.8284, allocations: 59.98 kB / 0.5682 GB, free: 76.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002063/0.8305, allocations: 1.739 MB / 0.5699 GB, free: 74.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8305, allocations: 0 / 0.5699 GB, free: 74.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002201/0.8327, allocations: 0.7949 MB / 0.5707 GB, free: 73.96 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.006993/0.8397, allocations: 6.205 MB / 0.5768 GB, free: 67.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004927/0.8446, allocations: 3.617 MB / 0.5803 GB, free: 64.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.8446, allocations: 4 kB / 0.5803 GB, free: 64.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003351/0.8479, allocations: 2.315 MB / 0.5826 GB, free: 61.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003646/0.8516, allocations: 0.7897 MB / 0.5833 GB, free: 60.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04828/0.8999, allocations: 29.66 MB / 0.6123 GB, free: 30.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003109/0.903, allocations: 2.778 MB / 0.615 GB, free: 27.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002197/0.9052, allocations: 0.679 MB / 0.6157 GB, free: 27.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001874/0.9071, allocations: 1.421 MB / 0.6171 GB, free: 25.62 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.9071, allocations: 0 / 0.6171 GB, free: 25.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1538/1.061, allocations: 76.18 MB / 0.6914 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.57/18.63, allocations: 15.67 kB / 0.6915 GB, free: 14.11 MB / 0.4981 GB " [Timeout remaining time 641] (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: 27.81229934003204]