Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.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.001853/0.001853, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002389/0.002389, allocations: 212 kB / 23.74 MB, free: 4.656 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.498/1.498, allocations: 230.6 MB / 257.5 MB, free: 8.027 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: translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 43.94 kB / 378.3 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2591, allocations: 53.37 MB / 431.7 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.0165/0.2756, allocations: 13.03 MB / 444.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009787/0.2853, allocations: 4.276 MB / 449 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002668/0.288, allocations: 103.3 kB / 449.1 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003466/0.2915, allocations: 1.031 MB / 450.1 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004976/0.2965, allocations: 1.243 MB / 451.4 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001746/0.2982, allocations: 0.5382 MB / 451.9 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00642/0.3046, allocations: 4.657 MB / 456.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003745/0.3084, allocations: 2.07 MB / 458.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004075/0.3124, allocations: 2.184 MB / 460.8 MB, free: 9.656 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004161/0.3166, allocations: 2.623 MB / 463.4 MB, free: 7.023 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008945/0.3175, allocations: 0.5508 MB / 464 MB, free: 6.473 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.3188, allocations: 0.6639 MB / 464.6 MB, free: 5.809 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00149/0.3203, allocations: 1.535 MB / 466.2 MB, free: 4.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00277/0.3231, allocations: 2.493 MB / 468.7 MB, free: 1.766 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00816/0.3312, allocations: 7.459 MB / 476.1 MB, free: 10.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3313, allocations: 0 / 476.1 MB, free: 10.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3313, allocations: 0 / 476.1 MB, free: 10.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001636/0.3314, allocations: 7.875 kB / 476.1 MB, free: 10.27 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.01017/0.3416, allocations: 4.752 MB / 480.9 MB, free: 5.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3416, allocations: 12.03 kB / 480.9 MB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/0.3432, allocations: 0.5448 MB / 481.4 MB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005319/0.3486, allocations: 2.548 MB / 484 MB, free: 2.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002484/0.3488, allocations: 263 kB / 484.2 MB, free: 2.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006138/0.3494, allocations: 355.9 kB / 484.6 MB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009763/0.3592, allocations: 5.029 MB / 489.6 MB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-05/0.3593, allocations: 11.94 kB / 489.6 MB, free: 12.58 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003487/0.3596, allocations: 152 kB / 489.8 MB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002182/0.3598, allocations: 179.1 kB / 490 MB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007891/0.3677, allocations: 4.294 MB / 494.3 MB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02507/0.3928, allocations: 14.59 MB / 0.4969 GB, free: 9.016 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00419/0.397, allocations: 2.69 MB / 0.4995 GB, free: 6.363 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003376/0.4004, allocations: 1.877 MB / 0.5014 GB, free: 4.488 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000264/0.4006, allocations: 53.97 kB / 0.5014 GB, free: 4.434 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.112e-05/0.4007, allocations: 60.94 kB / 0.5015 GB, free: 4.367 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.208e-06/0.4007, allocations: 0 / 0.5015 GB, free: 4.367 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02089/0.4216, allocations: 9.609 MB / 0.5109 GB, free: 10.74 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.4216, allocations: 77.41 kB / 0.5109 GB, free: 10.65 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004118/0.4258, allocations: 2.518 MB / 0.5134 GB, free: 8.113 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003136/0.4261, allocations: 69.64 kB / 0.5135 GB, free: 8.039 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001564/0.4276, allocations: 1.662 MB / 0.5151 GB, free: 6.359 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009529/0.4286, allocations: 0.763 MB / 0.5158 GB, free: 5.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007046/0.4293, allocations: 416.5 kB / 0.5162 GB, free: 5.176 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.4294, allocations: 305.1 kB / 0.5165 GB, free: 4.875 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002188/0.4316, allocations: 1.301 MB / 0.5178 GB, free: 3.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00292/0.4346, allocations: 1.778 MB / 0.5195 GB, free: 1.605 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007485/0.442, allocations: 3.215 MB / 0.5227 GB, free: 14.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.969e-05/0.4421, allocations: 4 kB / 0.5227 GB, free: 14.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01118/0.4532, allocations: 4.072 MB / 0.5267 GB, free: 10.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/0.4533, allocations: 12 kB / 0.5267 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.413e-05/0.4533, allocations: 12 kB / 0.5267 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004216/0.4575, allocations: 0.8829 MB / 0.5275 GB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003247/0.4608, allocations: 0.5305 MB / 0.5281 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2727/0.7335, allocations: 9.163 MB / 0.537 GB, free: 96.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/0.7357, allocations: 118.7 kB / 0.5371 GB, free: 96.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002699/0.736, allocations: 85.64 kB / 0.5372 GB, free: 96.4 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.002181/0.7381, allocations: 1.227 MB / 0.5384 GB, free: 96.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006275/0.7388, allocations: 287.3 kB / 0.5387 GB, free: 96.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005992/0.7448, allocations: 3.703 MB / 0.5423 GB, free: 95.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.889e-05/0.7448, allocations: 27.38 kB / 0.5423 GB, free: 95.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.7448, allocations: 8.422 kB / 0.5423 GB, free: 95.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.276e-05/0.7448, allocations: 11.19 kB / 0.5423 GB, free: 95.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01163/0.7564, allocations: 7.99 MB / 0.5501 GB, free: 92.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.7565, allocations: 13.14 kB / 0.5502 GB, free: 92.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00152/0.758, allocations: 377.6 kB / 0.5505 GB, free: 92.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002766/0.7607, allocations: 0.9341 MB / 0.5514 GB, free: 92.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/0.7609, allocations: 54.31 kB / 0.5515 GB, free: 92.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008687/0.7696, allocations: 10.68 MB / 0.5619 GB, free: 83.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.7696, allocations: 4 kB / 0.5619 GB, free: 83.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00702/0.7766, allocations: 5.501 MB / 0.5673 GB, free: 77.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001625/0.7782, allocations: 0.5838 MB / 0.5679 GB, free: 77.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003486/0.7786, allocations: 48 kB / 0.5679 GB, free: 77.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/0.7799, allocations: 119.8 kB / 0.568 GB, free: 77.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000398/0.7803, allocations: 189.7 kB / 0.5682 GB, free: 77.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/0.7804, allocations: 59.98 kB / 0.5683 GB, free: 77.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002029/0.7824, allocations: 1.735 MB / 0.5699 GB, free: 75.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7824, allocations: 0 / 0.5699 GB, free: 75.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002081/0.7845, allocations: 0.8047 MB / 0.5707 GB, free: 74.51 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.0005003/0.785, allocations: 239 kB / 0.571 GB, free: 74.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004611/0.7896, allocations: 3.623 MB / 0.5745 GB, free: 70.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.7896, allocations: 1.062 kB / 0.5745 GB, free: 70.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002871/0.7925, allocations: 2.306 MB / 0.5768 GB, free: 68.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003096/0.7956, allocations: 0.794 MB / 0.5775 GB, free: 67.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009692/0.8053, allocations: 7.913 MB / 0.5853 GB, free: 59.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001725/0.807, allocations: 2.778 MB / 0.588 GB, free: 56.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001786/0.8088, allocations: 0.6829 MB / 0.5886 GB, free: 56.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005042/0.8093, allocations: 179.4 kB / 0.5888 GB, free: 55.89 MB / 446.1 MB Notification: Performance of SimCode: time 1.162e-06/0.8093, allocations: 0 / 0.5888 GB, free: 55.89 MB / 446.1 MB Notification: Performance of Templates: time 0.06199/0.8713, allocations: 46.69 MB / 0.6344 GB, free: 9.777 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.0414773079101]