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.001327/0.001327, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.001593/0.001593, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.501/1.501, allocations: 230.2 MB / 254.5 MB, free: 15.43 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.00182/0.00182, allocations: 59.91 kB / 373.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1218, allocations: 53.34 MB / 426.7 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01802/0.1398, allocations: 13 MB / 439.7 MB, free: 7.918 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01125/0.151, allocations: 4.291 MB / 444 MB, free: 3.613 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002944/0.154, allocations: 83.69 kB / 444.1 MB, free: 3.531 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00333/0.1573, allocations: 1.025 MB / 445.1 MB, free: 2.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00538/0.1627, allocations: 1.251 MB / 446.4 MB, free: 1.242 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.1645, allocations: 0.5266 MB / 446.9 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.3119/0.4764, allocations: 4.683 MB / 451.6 MB, free: 9.562 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007537/0.4839, allocations: 2.7 MB / 454.3 MB, free: 9.242 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006503/0.4904, allocations: 2.148 MB / 456.4 MB, free: 8.957 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006391/0.4968, allocations: 2.637 MB / 459.1 MB, free: 8.539 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002362/0.4992, allocations: 0.5524 MB / 459.6 MB, free: 8.539 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003329/0.5025, allocations: 0.6531 MB / 460.3 MB, free: 8.539 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002148/0.5047, allocations: 1.545 MB / 461.8 MB, free: 7.727 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004597/0.5093, allocations: 2.501 MB / 464.3 MB, free: 6.137 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009735/0.519, allocations: 7.484 MB / 471.8 MB, free: 3.496 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.519, allocations: 1.188 kB / 471.8 MB, free: 3.496 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.519, allocations: 0 / 471.8 MB, free: 3.496 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002421/0.5192, allocations: 0 / 471.8 MB, free: 3.496 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.01192/0.5312, allocations: 4.831 MB / 476.6 MB, free: 252 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.5312, allocations: 12.28 kB / 476.6 MB, free: 252 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008795/0.5321, allocations: 0.5044 MB / 477.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001921/0.534, allocations: 0.5453 MB / 477.7 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006455/0.5405, allocations: 2.615 MB / 480.3 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002553/0.5407, allocations: 266.5 kB / 480.6 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006707/0.5414, allocations: 362.5 kB / 480.9 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009509/0.5509, allocations: 5.063 MB / 486 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.863e-05/0.551, allocations: 2.812 kB / 486 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003497/0.5513, allocations: 148.4 kB / 486.1 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001865/0.5515, allocations: 198.2 kB / 486.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007725/0.5592, allocations: 4.313 MB / 490.6 MB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0325/0.5917, allocations: 15.1 MB / 0.4939 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005756/0.5975, allocations: 4.058 MB / 0.4978 GB, free: 4.523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003763/0.6013, allocations: 1.872 MB / 0.4997 GB, free: 2.656 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003781/0.6016, allocations: 127.1 kB / 0.4998 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.073e-05/0.6017, allocations: 65.8 kB / 0.4999 GB, free: 2.441 MB / 398.1 MB Notification: Performance of pre-optimization done (n=198): time 4.147e-06/0.6017, allocations: 0 / 0.4999 GB, free: 2.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=218): time 0.02354/0.6253, allocations: 10 MB / 0.5096 GB, free: 8.375 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/0.6253, allocations: 73.41 kB / 0.5097 GB, free: 8.289 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005803/0.6311, allocations: 2.514 MB / 0.5121 GB, free: 5.754 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002822/0.6314, allocations: 69.7 kB / 0.5122 GB, free: 5.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001651/0.6331, allocations: 1.664 MB / 0.5138 GB, free: 4.004 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000866/0.6339, allocations: 0.7678 MB / 0.5146 GB, free: 3.246 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000934/0.6349, allocations: 421.9 kB / 0.515 GB, free: 2.828 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.635, allocations: 305.1 kB / 0.5153 GB, free: 2.527 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002384/0.6374, allocations: 1.3 MB / 0.5166 GB, free: 1.227 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002837/0.6402, allocations: 1.773 MB / 0.5183 GB, free: 15.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005301/0.6455, allocations: 3.223 MB / 0.5214 GB, free: 11.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-05/0.6455, allocations: 4 kB / 0.5214 GB, free: 11.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007995/0.6535, allocations: 4.061 MB / 0.5254 GB, free: 7.816 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/0.6536, allocations: 18.33 kB / 0.5254 GB, free: 7.801 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.942e-05/0.6536, allocations: 12 kB / 0.5254 GB, free: 7.789 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00298/0.6566, allocations: 0.8776 MB / 0.5263 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002172/0.6588, allocations: 0.5304 MB / 0.5268 GB, free: 6.367 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0127/0.6715, allocations: 9.484 MB / 0.5361 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003518/0.675, allocations: 119.9 kB / 0.5362 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006241/0.6756, allocations: 88 kB / 0.5363 GB, free: 12.29 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.003488/0.6791, allocations: 1.219 MB / 0.5375 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/0.6802, allocations: 290.2 kB / 0.5377 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007684/0.6879, allocations: 3.705 MB / 0.5413 GB, free: 7.043 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.212e-05/0.6879, allocations: 20 kB / 0.5414 GB, free: 7.023 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.456e-05/0.6879, allocations: 8 kB / 0.5414 GB, free: 7.016 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-05/0.688, allocations: 15.89 kB / 0.5414 GB, free: 7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01786/0.7058, allocations: 8.012 MB / 0.5492 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/0.7058, allocations: 4 kB / 0.5492 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001647/0.7075, allocations: 383.8 kB / 0.5496 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003198/0.7107, allocations: 0.9252 MB / 0.5505 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002259/0.7109, allocations: 59.98 kB / 0.5505 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01395/0.7249, allocations: 11.11 MB / 0.5614 GB, free: 1.879 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.7249, allocations: 4 kB / 0.5614 GB, free: 1.875 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01106/0.7359, allocations: 5.505 MB / 0.5668 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002593/0.7385, allocations: 0.6475 MB / 0.5674 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001141/0.7397, allocations: 51.98 kB / 0.5675 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002224/0.7419, allocations: 111.9 kB / 0.5676 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005434/0.7424, allocations: 181.7 kB / 0.5677 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002137/0.7426, allocations: 59.98 kB / 0.5678 GB, free: 11.24 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004217/0.7469, allocations: 1.739 MB / 0.5695 GB, free: 9.488 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.7469, allocations: 0 / 0.5695 GB, free: 9.488 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004108/0.751, allocations: 0.8047 MB / 0.5703 GB, free: 8.684 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.01116/0.7621, allocations: 6.194 MB / 0.5763 GB, free: 2.422 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007249/0.7694, allocations: 3.767 MB / 0.58 GB, free: 14.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.7694, allocations: 4 kB / 0.58 GB, free: 14.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004305/0.7737, allocations: 2.386 MB / 0.5823 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005061/0.7787, allocations: 0.8012 MB / 0.5831 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0653/0.844, allocations: 29.63 MB / 0.6121 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005213/0.8493, allocations: 2.789 MB / 0.6148 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00326/0.8525, allocations: 0.6829 MB / 0.6154 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003073/0.8556, allocations: 1.421 MB / 0.6168 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of SimCode: time 1.192e-06/0.8556, allocations: 0 / 0.6168 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3982/1.254, allocations: 74.36 MB / 0.6895 GB, free: 160 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.69/16.94, allocations: 14.98 kB / 0.6895 GB, free: 160 MB / 0.5294 GB " [Timeout remaining time 643] (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_2/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_2/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: 26.60086339013651]