Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.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.001745/0.001745, allocations: 110 kB / 20.43 MB, free: 1.453 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.001453/0.001453, allocations: 213.6 kB / 23.74 MB, free: 4.66 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.475/1.475, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.Transformers.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 67.91 kB / 377.8 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.317, allocations: 53.41 MB / 431.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01863/0.3356, allocations: 13.05 MB / 444.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01239/0.348, allocations: 4.299 MB / 448.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004253/0.3523, allocations: 103.4 kB / 448.7 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004594/0.3569, allocations: 1.026 MB / 449.7 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006521/0.3634, allocations: 1.262 MB / 451 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00226/0.3656, allocations: 0.5382 MB / 451.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008085/0.3737, allocations: 4.7 MB / 456.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004726/0.3785, allocations: 2.078 MB / 458.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005804/0.3843, allocations: 2.197 MB / 460.5 MB, free: 9.285 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005455/0.3897, allocations: 2.635 MB / 463.1 MB, free: 6.641 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002089/0.3918, allocations: 0.5508 MB / 463.7 MB, free: 6.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00298/0.3948, allocations: 0.6678 MB / 464.3 MB, free: 5.422 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003121/0.3979, allocations: 1.539 MB / 465.9 MB, free: 3.879 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006484/0.4044, allocations: 2.501 MB / 468.4 MB, free: 1.367 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01327/0.4177, allocations: 7.478 MB / 475.9 MB, free: 9.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.4177, allocations: 3.938 kB / 475.9 MB, free: 9.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4177, allocations: 0 / 475.9 MB, free: 9.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003177/0.418, allocations: 0 / 475.9 MB, free: 9.859 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: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.01603/0.434, allocations: 4.759 MB / 480.6 MB, free: 5.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.4341, allocations: 12.03 kB / 480.6 MB, free: 5.031 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00203/0.4361, allocations: 0.5022 MB / 481.1 MB, free: 4.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002845/0.4389, allocations: 0.5448 MB / 481.7 MB, free: 3.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008483/0.4474, allocations: 2.56 MB / 484.2 MB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004363/0.4479, allocations: 271.2 kB / 484.5 MB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001915/0.4498, allocations: 351.9 kB / 484.8 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01611/0.4659, allocations: 5.056 MB / 489.9 MB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002271/0.4661, allocations: 7.938 kB / 489.9 MB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001235/0.4673, allocations: 144 kB / 490.1 MB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003053/0.4677, allocations: 203.1 kB / 490.3 MB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01119/0.4788, allocations: 4.31 MB / 494.6 MB, free: 6.949 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03636/0.5152, allocations: 14.93 MB / 0.4975 GB, free: 7.605 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005319/0.5205, allocations: 2.702 MB / 0.5002 GB, free: 4.938 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004717/0.5252, allocations: 1.87 MB / 0.502 GB, free: 3.074 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004162/0.5257, allocations: 57.95 kB / 0.5021 GB, free: 3.016 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.42e-05/0.5257, allocations: 56.56 kB / 0.5021 GB, free: 2.953 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 6.031e-06/0.5257, allocations: 0 / 0.5021 GB, free: 2.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02653/0.5523, allocations: 9.627 MB / 0.5115 GB, free: 9.312 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.134e-05/0.5524, allocations: 73.41 kB / 0.5116 GB, free: 9.227 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006218/0.5586, allocations: 2.518 MB / 0.5141 GB, free: 6.688 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005942/0.5592, allocations: 69.7 kB / 0.5141 GB, free: 6.613 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002092/0.5613, allocations: 1.662 MB / 0.5157 GB, free: 4.934 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001376/0.5626, allocations: 0.7708 MB / 0.5165 GB, free: 4.156 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001564/0.5642, allocations: 420.4 kB / 0.5169 GB, free: 3.738 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.5644, allocations: 305.1 kB / 0.5172 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002836/0.5672, allocations: 1.301 MB / 0.5185 GB, free: 2.133 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003294/0.5705, allocations: 1.786 MB / 0.5202 GB, free: 164 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006376/0.5769, allocations: 3.208 MB / 0.5233 GB, free: 12.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.467e-05/0.5769, allocations: 4 kB / 0.5233 GB, free: 12.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00995/0.5869, allocations: 4.073 MB / 0.5273 GB, free: 8.668 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.921e-05/0.5869, allocations: 15.12 kB / 0.5273 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-05/0.5869, allocations: 12 kB / 0.5273 GB, free: 8.645 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003203/0.5901, allocations: 0.8759 MB / 0.5282 GB, free: 7.754 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002651/0.5928, allocations: 0.5265 MB / 0.5287 GB, free: 7.227 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2532/0.846, allocations: 9.163 MB / 0.5377 GB, free: 96.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002284/0.8483, allocations: 122.4 kB / 0.5378 GB, free: 96.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002842/0.8486, allocations: 83.52 kB / 0.5379 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.00248/0.851, allocations: 1.226 MB / 0.5391 GB, free: 96.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006968/0.8517, allocations: 288.2 kB / 0.5393 GB, free: 96.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006282/0.858, allocations: 3.704 MB / 0.5429 GB, free: 94.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.228e-05/0.858, allocations: 20.62 kB / 0.543 GB, free: 94.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.72e-05/0.8581, allocations: 6.875 kB / 0.543 GB, free: 94.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.318e-05/0.8581, allocations: 8.594 kB / 0.543 GB, free: 94.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/0.8709, allocations: 8.002 MB / 0.5508 GB, free: 91.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/0.8709, allocations: 4.594 kB / 0.5508 GB, free: 91.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001555/0.8724, allocations: 382.9 kB / 0.5512 GB, free: 91.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002753/0.8752, allocations: 0.9281 MB / 0.5521 GB, free: 91.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002515/0.8754, allocations: 58.45 kB / 0.5521 GB, free: 91.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008936/0.8844, allocations: 10.69 MB / 0.5626 GB, free: 82.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.8844, allocations: 8 kB / 0.5626 GB, free: 82.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007527/0.8919, allocations: 5.517 MB / 0.568 GB, free: 76.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0018/0.8937, allocations: 0.5755 MB / 0.5685 GB, free: 76.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007937/0.8945, allocations: 49.86 kB / 0.5686 GB, free: 76.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001767/0.8963, allocations: 115.9 kB / 0.5687 GB, free: 76.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004811/0.8968, allocations: 189.6 kB / 0.5689 GB, free: 75.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001902/0.8969, allocations: 59.98 kB / 0.5689 GB, free: 75.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002948/0.8999, allocations: 1.739 MB / 0.5706 GB, free: 74.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8999, allocations: 0 / 0.5706 GB, free: 74.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003128/0.903, allocations: 0.8048 MB / 0.5714 GB, free: 73.24 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.008141/0.9112, allocations: 6.196 MB / 0.5774 GB, free: 66.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005262/0.9164, allocations: 3.617 MB / 0.581 GB, free: 63.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.637e-06/0.9164, allocations: 0.75 kB / 0.581 GB, free: 63.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003262/0.9197, allocations: 2.306 MB / 0.5832 GB, free: 60.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004344/0.924, allocations: 0.8002 MB / 0.584 GB, free: 60.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0466/0.9706, allocations: 29.68 MB / 0.613 GB, free: 29.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003279/0.9739, allocations: 2.786 MB / 0.6157 GB, free: 26.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002491/0.9764, allocations: 0.6907 MB / 0.6164 GB, free: 26.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002073/0.9785, allocations: 1.421 MB / 0.6178 GB, free: 24.87 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/0.9785, allocations: 0 / 0.6178 GB, free: 24.87 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2016/1.18, allocations: 76.24 MB / 0.6922 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.72/18.9, allocations: 0 / 0.6922 GB, free: 13.18 MB / 0.4981 GB " [Timeout remaining time 641] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_IMC_Transformer_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_IMC_Transformer.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.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: 28.22067428799346]