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.002371/0.002371, allocations: 91.61 kB / 20.96 MB, free: 3.457 MB / 18.57 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.002756/0.002756, allocations: 165.3 kB / 24.28 MB, free: 148 kB / 18.57 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.605/1.605, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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 2.394e-06/2.394e-06, allocations: 0 / 272.4 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.679e-05, allocations: 2.312 kB / 272.4 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01758/0.01761, allocations: 12.76 MB / 285.1 MB, free: 4.973 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008703/0.02631, allocations: 4.195 MB / 289.3 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002167/0.02848, allocations: 99.38 kB / 289.4 MB, free: 0.668 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1189/0.1474, allocations: 0.9626 MB / 290.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004767/0.1521, allocations: 1.299 MB / 291.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.1538, allocations: 0.5307 MB / 292.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006118/0.1599, allocations: 4.812 MB / 297 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003114/0.163, allocations: 2.022 MB / 299 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006396/0.1694, allocations: 3.216 MB / 302.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004082/0.1735, allocations: 2.492 MB / 304.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008865/0.1744, allocations: 0.5515 MB / 305.3 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.1758, allocations: 0.6539 MB / 306 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001069/0.1769, allocations: 1.606 MB / 307.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002479/0.1794, allocations: 1.749 MB / 309.3 MB, free: 9.625 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005866/0.1853, allocations: 7.603 MB / 316.9 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1853, allocations: 0 / 316.9 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.1853, allocations: 0 / 316.9 MB, free: 3.035 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001599/0.1854, allocations: 0 / 316.9 MB, free: 3.035 MB / 266.7 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.01037/0.1958, allocations: 5.351 MB / 322.3 MB, free: 13.64 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.1959, allocations: 8.031 kB / 322.3 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002417/0.1983, allocations: 0.8362 MB / 323.1 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006041/0.2043, allocations: 2.434 MB / 325.5 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002887/0.2046, allocations: 266.7 kB / 325.8 MB, free: 10.17 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008495/0.2054, allocations: 360 kB / 326.2 MB, free: 9.824 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01016/0.2156, allocations: 5.04 MB / 331.2 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.715e-05/0.2157, allocations: 10.48 kB / 331.2 MB, free: 4.648 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003713/0.2161, allocations: 146.8 kB / 331.3 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002267/0.2163, allocations: 179.1 kB / 331.5 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007991/0.2243, allocations: 3.483 MB / 335 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03425/0.2586, allocations: 18.07 MB / 353.1 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0041/0.2627, allocations: 2.236 MB / 355.3 MB, free: 12.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003267/0.2659, allocations: 1.53 MB / 356.8 MB, free: 10.63 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004983/0.2664, allocations: 65.97 kB / 356.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.096e-05/0.2665, allocations: 59.39 kB / 357 MB, free: 10.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=198): time 4.669e-06/0.2665, allocations: 4 kB / 357 MB, free: 10.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=218): time 0.01758/0.2841, allocations: 7.128 MB / 364.1 MB, free: 3.395 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002815/0.2843, allocations: 81.34 kB / 364.2 MB, free: 3.301 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004574/0.2889, allocations: 2.607 MB / 366.8 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002026/0.2891, allocations: 61.7 kB / 366.8 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001959/0.2911, allocations: 1.898 MB / 368.7 MB, free: 14.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009873/0.2921, allocations: 0.8384 MB / 369.6 MB, free: 13.92 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009786/0.293, allocations: 0.5064 MB / 370.1 MB, free: 13.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002495/0.2933, allocations: 476.8 kB / 370.6 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001828/0.2951, allocations: 0.8672 MB / 371.4 MB, free: 12.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002815/0.2979, allocations: 1.621 MB / 373 MB, free: 10.2 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004788/0.3027, allocations: 2.748 MB / 375.8 MB, free: 7.254 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.534e-05/0.3027, allocations: 8 kB / 375.8 MB, free: 7.246 MB / 330.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007284/0.31, allocations: 3.194 MB / 379 MB, free: 4.125 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.3101, allocations: 12 kB / 379 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.878e-05/0.3101, allocations: 12 kB / 379 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003258/0.3133, allocations: 0.7197 MB / 379.7 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002225/0.3156, allocations: 0.5269 MB / 380.3 MB, free: 2.867 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01194/0.3275, allocations: 9.077 MB / 389.3 MB, free: 9.465 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/0.3295, allocations: 123.8 kB / 389.5 MB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003317/0.3298, allocations: 87.98 kB / 389.5 MB, free: 9.258 MB / 346.7 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.002308/0.3321, allocations: 1.014 MB / 390.6 MB, free: 8.262 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001019/0.3331, allocations: 342.3 kB / 390.9 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006728/0.3399, allocations: 2.723 MB / 393.6 MB, free: 5.195 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/0.3399, allocations: 27.94 kB / 393.6 MB, free: 5.168 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.089e-05/0.3399, allocations: 4 kB / 393.6 MB, free: 5.164 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.121e-05/0.3399, allocations: 15.97 kB / 393.7 MB, free: 5.148 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01636/0.3563, allocations: 6.994 MB / 400.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.3563, allocations: 4 kB / 400.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001755/0.358, allocations: 380.4 kB / 401 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003434/0.3615, allocations: 0.7741 MB / 401.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001899/0.3617, allocations: 55.97 kB / 401.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01304/0.3747, allocations: 10.72 MB / 412.6 MB, free: 1.762 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.3747, allocations: 7.562 kB / 412.6 MB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00842/0.3831, allocations: 3.983 MB / 416.6 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001804/0.3849, allocations: 0.4943 MB / 417.1 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005808/0.3855, allocations: 47.98 kB / 417.1 MB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/0.3871, allocations: 115.3 kB / 417.2 MB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004891/0.3876, allocations: 193.6 kB / 417.4 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001744/0.3877, allocations: 63.98 kB / 417.5 MB, free: 12.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002979/0.3907, allocations: 1.52 MB / 419 MB, free: 11.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3907, allocations: 3.938 kB / 419 MB, free: 11.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002823/0.3935, allocations: 0.7968 MB / 419.8 MB, free: 10.47 MB / 378.7 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.0006799/0.3942, allocations: 249.9 kB / 420 MB, free: 10.26 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006684/0.4009, allocations: 3.158 MB / 423.2 MB, free: 7.086 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.4009, allocations: 0 / 423.2 MB, free: 7.086 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004129/0.405, allocations: 2.224 MB / 425.4 MB, free: 4.809 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003341/0.4084, allocations: 0.6527 MB / 426.1 MB, free: 4.172 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1246/0.533, allocations: 7.006 MB / 433.1 MB, free: 111.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002492/0.5355, allocations: 2.066 MB / 435.2 MB, free: 111.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001924/0.5374, allocations: 0.5129 MB / 435.7 MB, free: 111.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005881/0.538, allocations: 170.4 kB / 435.8 MB, free: 111.4 MB / 378.7 MB Notification: Performance of SimCode: time 1.794e-06/0.538, allocations: 0 / 435.8 MB, free: 111.4 MB / 378.7 MB Notification: Performance of Templates: time 0.0585/0.5965, allocations: 40.45 MB / 476.3 MB, free: 85.6 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 240] 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: 7.866609531920403]