Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 124.3 kB / 17.79 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002113/0.002113, allocations: 190.9 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 225.6 MB / 249.1 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_0_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_0_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.001483/0.001483, allocations: 51.92 kB / 365.7 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09323/0.09471, allocations: 52.14 MB / 417.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01488/0.1096, allocations: 12.92 MB / 430.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008205/0.1178, allocations: 4.198 MB / 434.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001782/0.1196, allocations: 79.69 kB / 435 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002469/0.122, allocations: 1.013 MB / 436 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00322/0.1253, allocations: 1.223 MB / 437.2 MB, free: 9.086 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.1264, allocations: 0.5149 MB / 437.7 MB, free: 8.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0055/0.1319, allocations: 4.641 MB / 442.4 MB, free: 3.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003554/0.1355, allocations: 2.702 MB / 445.1 MB, free: 1.141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1952/0.3306, allocations: 2.132 MB / 447.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003802/0.3344, allocations: 2.619 MB / 449.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001248/0.3357, allocations: 0.5551 MB / 450.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.3374, allocations: 0.6416 MB / 451 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001398/0.3388, allocations: 1.531 MB / 452.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003217/0.342, allocations: 2.483 MB / 455.1 MB, free: 9.422 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008337/0.3503, allocations: 7.441 MB / 462.5 MB, free: 8.559 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3503, allocations: 0.6875 kB / 462.5 MB, free: 8.559 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.3503, allocations: 0 / 462.5 MB, free: 8.559 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002267/0.3506, allocations: 1.406 kB / 462.5 MB, free: 8.559 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01017/0.3607, allocations: 4.803 MB / 467.3 MB, free: 6.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3608, allocations: 10.38 kB / 467.3 MB, free: 6.34 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006789/0.3615, allocations: 0.4995 MB / 467.8 MB, free: 6.059 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/0.3628, allocations: 0.5192 MB / 468.3 MB, free: 5.801 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005071/0.3679, allocations: 2.583 MB / 470.9 MB, free: 4.156 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001913/0.368, allocations: 266.1 kB / 471.2 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006834/0.3687, allocations: 361.5 kB / 471.5 MB, free: 3.914 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008434/0.3772, allocations: 5.027 MB / 476.5 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.583e-05/0.3773, allocations: 10.03 kB / 476.6 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003484/0.3776, allocations: 142.5 kB / 476.7 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001567/0.3778, allocations: 190 kB / 476.9 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007562/0.3853, allocations: 4.296 MB / 481.2 MB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02697/0.4123, allocations: 14.75 MB / 495.9 MB, free: 3.922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00469/0.417, allocations: 4.062 MB / 500 MB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003162/0.4201, allocations: 1.869 MB / 0.4901 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002741/0.4204, allocations: 134 kB / 0.4902 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.029e-05/0.4205, allocations: 61.42 kB / 0.4903 GB, free: 13.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=198): time 3.437e-06/0.4205, allocations: 0 / 0.4903 GB, free: 13.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=218): time 0.02155/0.442, allocations: 9.992 MB / 0.5 GB, free: 3.469 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.4421, allocations: 73.41 kB / 0.5001 GB, free: 3.383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004357/0.4464, allocations: 2.506 MB / 0.5026 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000434/0.4469, allocations: 65.7 kB / 0.5026 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00138/0.4482, allocations: 1.649 MB / 0.5042 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008865/0.4491, allocations: 0.7689 MB / 0.505 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007463/0.4499, allocations: 420.4 kB / 0.5054 GB, free: 13.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.45, allocations: 301.1 kB / 0.5057 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002172/0.4522, allocations: 1.304 MB / 0.5069 GB, free: 12.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002475/0.4547, allocations: 1.774 MB / 0.5087 GB, free: 10.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004631/0.4593, allocations: 3.217 MB / 0.5118 GB, free: 7.043 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.4593, allocations: 5.125 kB / 0.5118 GB, free: 7.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007237/0.4665, allocations: 4.063 MB / 0.5158 GB, free: 3.051 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.4666, allocations: 11.98 kB / 0.5158 GB, free: 3.039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.569e-05/0.4666, allocations: 16 kB / 0.5158 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002777/0.4694, allocations: 0.8806 MB / 0.5167 GB, free: 2.133 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002029/0.4714, allocations: 0.5274 MB / 0.5172 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01102/0.4824, allocations: 9.492 MB / 0.5265 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002213/0.4846, allocations: 119.9 kB / 0.5266 GB, free: 7.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002019/0.4848, allocations: 84 kB / 0.5267 GB, free: 7.586 MB / 430.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.002318/0.4871, allocations: 1.215 MB / 0.5278 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005801/0.4877, allocations: 290.2 kB / 0.5281 GB, free: 6.102 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006424/0.4941, allocations: 3.703 MB / 0.5317 GB, free: 2.391 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/0.4942, allocations: 24.66 kB / 0.5318 GB, free: 2.367 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.4942, allocations: 4 kB / 0.5318 GB, free: 2.363 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.918e-05/0.4942, allocations: 11.97 kB / 0.5318 GB, free: 2.352 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0146/0.5088, allocations: 7.996 MB / 0.5396 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/0.5088, allocations: 7.938 kB / 0.5396 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001621/0.5104, allocations: 386.5 kB / 0.54 GB, free: 9.977 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003024/0.5135, allocations: 0.9313 MB / 0.5409 GB, free: 9.035 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001914/0.5136, allocations: 62.97 kB / 0.5409 GB, free: 8.977 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0127/0.5264, allocations: 11.09 MB / 0.5518 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.003e-05/0.5264, allocations: 7.984 kB / 0.5518 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00979/0.5362, allocations: 5.505 MB / 0.5571 GB, free: 7.812 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002542/0.5387, allocations: 0.6539 MB / 0.5578 GB, free: 7.141 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000736/0.5394, allocations: 51.98 kB / 0.5578 GB, free: 7.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/0.5409, allocations: 115.9 kB / 0.5579 GB, free: 6.977 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004741/0.5414, allocations: 180.4 kB / 0.5581 GB, free: 6.801 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/0.5415, allocations: 59.98 kB / 0.5582 GB, free: 6.742 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00313/0.5447, allocations: 1.731 MB / 0.5599 GB, free: 5 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5447, allocations: 0 / 0.5599 GB, free: 5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003081/0.5477, allocations: 0.7929 MB / 0.5606 GB, free: 4.207 MB / 462.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.009585/0.5573, allocations: 6.201 MB / 0.5667 GB, free: 13.98 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006438/0.5638, allocations: 3.773 MB / 0.5704 GB, free: 10.19 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.5638, allocations: 0 / 0.5704 GB, free: 10.19 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00394/0.5677, allocations: 2.394 MB / 0.5727 GB, free: 7.766 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004221/0.5719, allocations: 0.7979 MB / 0.5735 GB, free: 6.984 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05184/0.6238, allocations: 29.54 MB / 0.6023 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003732/0.6275, allocations: 2.777 MB / 0.605 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002373/0.6299, allocations: 0.6788 MB / 0.6057 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002287/0.6322, allocations: 1.413 MB / 0.6071 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of SimCode: time 1.002e-06/0.6322, allocations: 0 / 0.6071 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3768/1.009, allocations: 74.11 MB / 0.6795 GB, free: 145 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.2/16.21, allocations: 14.47 kB / 0.6795 GB, free: 144.9 MB / 0.5137 GB " [Timeout remaining time 644] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 25.104541446082294]