Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.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.001071/0.001071, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.00459/0.00459, allocations: 145.3 kB / 24.68 MB, free: 9.426 MB / 18.57 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 0.8322/0.8322, allocations: 173.4 MB / 201.2 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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: 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.0.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.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 319.7 MB, free: 5.688 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/2.075e-05, allocations: 2.281 kB / 319.7 MB, free: 5.684 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.008114/0.008135, allocations: 11.32 MB / 331 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004509/0.01264, allocations: 3.988 MB / 335 MB, free: 6.305 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007281/0.01337, allocations: 103.3 kB / 335.1 MB, free: 6.203 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.01466, allocations: 0.9624 MB / 336.1 MB, free: 5.234 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001653/0.01632, allocations: 1.273 MB / 337.4 MB, free: 3.953 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005766/0.01689, allocations: 0.5187 MB / 337.9 MB, free: 3.434 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002815/0.01971, allocations: 4.803 MB / 342.7 MB, free: 14.6 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001621/0.02133, allocations: 2.011 MB / 344.7 MB, free: 12.53 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002556/0.02388, allocations: 3.165 MB / 347.9 MB, free: 9.367 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001876/0.02576, allocations: 2.287 MB / 350.2 MB, free: 7.074 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004394/0.0262, allocations: 0.5547 MB / 350.7 MB, free: 6.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006124/0.02681, allocations: 0.6365 MB / 351.3 MB, free: 5.883 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008256/0.02764, allocations: 1.582 MB / 352.9 MB, free: 4.297 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001178/0.02882, allocations: 1.723 MB / 354.7 MB, free: 2.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00436/0.03318, allocations: 7.533 MB / 362.2 MB, free: 11.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.03318, allocations: 0 / 362.2 MB, free: 11.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.03318, allocations: 0 / 362.2 MB, free: 11.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.33e-05/0.03325, allocations: 0 / 362.2 MB, free: 11.02 MB / 330.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.005039/0.03829, allocations: 4.689 MB / 366.9 MB, free: 6.273 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.03833, allocations: 8.922 kB / 366.9 MB, free: 6.266 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007138/0.03904, allocations: 0.5136 MB / 367.4 MB, free: 5.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002598/0.04164, allocations: 2.528 MB / 369.9 MB, free: 3.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.04177, allocations: 263.4 kB / 370.2 MB, free: 2.922 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000337/0.0421, allocations: 352.3 kB / 370.5 MB, free: 2.578 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005024/0.04713, allocations: 5.287 MB / 375.8 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.508e-05/0.04718, allocations: 11.89 kB / 375.8 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002294/0.04741, allocations: 144 kB / 376 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001125/0.04753, allocations: 179.1 kB / 376.1 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004384/0.05191, allocations: 4.294 MB / 380.4 MB, free: 8.535 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01229/0.0642, allocations: 12.85 MB / 393.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002426/0.06662, allocations: 2.692 MB / 396 MB, free: 8.719 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001844/0.06847, allocations: 1.874 MB / 397.8 MB, free: 6.844 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001636/0.06863, allocations: 57.95 kB / 397.9 MB, free: 6.789 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.06866, allocations: 56.56 kB / 398 MB, free: 6.723 MB / 362.7 MB Notification: Performance of pre-optimization done (n=198): time 3.257e-06/0.06867, allocations: 0 / 398 MB, free: 6.723 MB / 362.7 MB Notification: Performance of matching and sorting (n=218): time 0.01133/0.08, allocations: 9.585 MB / 407.5 MB, free: 13.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.08004, allocations: 73.41 kB / 407.6 MB, free: 13.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002164/0.08221, allocations: 2.182 MB / 409.8 MB, free: 10.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.08231, allocations: 61.7 kB / 409.9 MB, free: 10.76 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008031/0.08311, allocations: 1.664 MB / 411.5 MB, free: 9.078 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000438/0.08355, allocations: 0.7591 MB / 412.3 MB, free: 8.312 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004428/0.08399, allocations: 420.4 kB / 412.7 MB, free: 7.895 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.655e-05/0.08407, allocations: 305.1 kB / 413 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.08536, allocations: 1.297 MB / 414.3 MB, free: 6.293 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/0.08683, allocations: 1.774 MB / 416.1 MB, free: 4.328 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002827/0.08966, allocations: 3.211 MB / 419.3 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.08967, allocations: 4 kB / 419.3 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.004119/0.09378, allocations: 4.042 MB / 423.3 MB, free: 12.87 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.09381, allocations: 16.09 kB / 423.3 MB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.09382, allocations: 12 kB / 423.3 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001462/0.09529, allocations: 0.8833 MB / 424.2 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.09637, allocations: 0.5188 MB / 424.7 MB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006837/0.1032, allocations: 8.998 MB / 433.7 MB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.1042, allocations: 119.9 kB / 433.9 MB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.1043, allocations: 87.98 kB / 433.9 MB, free: 1.922 MB / 394.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.001574/0.1059, allocations: 1.211 MB / 435.2 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000269/0.1062, allocations: 266.3 kB / 435.4 MB, free: 448 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003781/0.1099, allocations: 3.673 MB / 439.1 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.11, allocations: 20 kB / 439.1 MB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.11, allocations: 8 kB / 439.1 MB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.11, allocations: 11.95 kB / 439.1 MB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00766/0.1176, allocations: 7.097 MB / 446.2 MB, free: 5.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.1176, allocations: 4 kB / 446.2 MB, free: 5.496 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008264/0.1185, allocations: 391.9 kB / 446.6 MB, free: 5.113 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001654/0.1201, allocations: 0.9291 MB / 447.5 MB, free: 4.168 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.501e-05/0.1202, allocations: 55.97 kB / 447.6 MB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1557/0.2759, allocations: 10.47 MB / 458.1 MB, free: 114.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2759, allocations: 3.844 kB / 458.1 MB, free: 114.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004784/0.2807, allocations: 5.475 MB / 463.5 MB, free: 112.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007405/0.2815, allocations: 0.5386 MB / 464.1 MB, free: 112.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/0.2817, allocations: 49.55 kB / 464.1 MB, free: 112.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006476/0.2823, allocations: 121.7 kB / 464.3 MB, free: 112.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002514/0.2826, allocations: 187.8 kB / 464.4 MB, free: 112.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.508e-05/0.2826, allocations: 63.11 kB / 464.5 MB, free: 112.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001254/0.2839, allocations: 1.478 MB / 466 MB, free: 111.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2839, allocations: 3.828 kB / 466 MB, free: 111.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001376/0.2853, allocations: 0.7975 MB / 466.8 MB, free: 110.7 MB / 410.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.0004007/0.2857, allocations: 237.8 kB / 467 MB, free: 110.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002927/0.2886, allocations: 3.62 MB / 470.6 MB, free: 107.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.2886, allocations: 4 kB / 470.6 MB, free: 107.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001732/0.2903, allocations: 2.303 MB / 472.9 MB, free: 105.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.2917, allocations: 0.6294 MB / 473.6 MB, free: 104.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006361/0.2981, allocations: 7.62 MB / 481.2 MB, free: 97.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001259/0.2993, allocations: 2.183 MB / 483.4 MB, free: 94.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004457/0.2998, allocations: 176.5 kB / 483.5 MB, free: 94.72 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.2998, allocations: 0 / 483.5 MB, free: 94.72 MB / 410.7 MB Notification: Performance of Templates: time 0.2151/0.5149, allocations: 140.9 MB / 0.6098 GB, free: 156.7 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 9.942097430117428]