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.0009454/0.0009454, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.0009587/0.0009587, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 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 1.063/1.063, allocations: 173.4 MB / 201.2 MB, free: 9.359 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.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 268 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.674e-05, allocations: 6.25 kB / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01204/0.01206, allocations: 12.77 MB / 280.8 MB, free: 9.625 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01385/0.02591, allocations: 4.136 MB / 284.9 MB, free: 5.477 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003069/0.02898, allocations: 103.3 kB / 285 MB, free: 5.375 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0033/0.03228, allocations: 0.9705 MB / 286 MB, free: 4.398 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005381/0.03766, allocations: 1.296 MB / 287.3 MB, free: 3.094 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.03947, allocations: 0.5149 MB / 287.8 MB, free: 2.578 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1466/0.186, allocations: 4.787 MB / 292.6 MB, free: 16.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00415/0.1902, allocations: 2.018 MB / 294.6 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007973/0.1982, allocations: 3.36 MB / 298 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005327/0.2035, allocations: 2.432 MB / 300.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001758/0.2052, allocations: 0.5427 MB / 300.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001842/0.2071, allocations: 0.6358 MB / 301.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001094/0.2082, allocations: 1.562 MB / 303.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002793/0.211, allocations: 1.725 MB / 304.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004345/0.2153, allocations: 4.025 MB / 308.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.2153, allocations: 0 / 308.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2153, allocations: 0 / 308.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000186/0.2155, allocations: 0 / 308.9 MB, free: 12.3 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.006963/0.2225, allocations: 4.92 MB / 313.8 MB, free: 9.297 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.2225, allocations: 11.08 kB / 313.8 MB, free: 9.297 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.2238, allocations: 0.8123 MB / 314.6 MB, free: 8.531 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002886/0.2267, allocations: 2.358 MB / 317 MB, free: 6.258 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.2268, allocations: 262.2 kB / 317.2 MB, free: 6.004 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003236/0.2271, allocations: 360 kB / 317.6 MB, free: 5.656 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004022/0.2311, allocations: 3.035 MB / 320.6 MB, free: 2.492 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.157e-05/0.2312, allocations: 18.97 kB / 320.6 MB, free: 2.477 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002142/0.2314, allocations: 147.1 kB / 320.8 MB, free: 2.336 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001338/0.2316, allocations: 179.1 kB / 321 MB, free: 2.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00265/0.2342, allocations: 1.316 MB / 322.3 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01631/0.2505, allocations: 11.78 MB / 334.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/0.2525, allocations: 1.524 MB / 335.6 MB, free: 3.609 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/0.2538, allocations: 0.9545 MB / 336.5 MB, free: 2.656 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001997/0.254, allocations: 65.97 kB / 336.6 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.2541, allocations: 59.38 kB / 336.7 MB, free: 2.523 MB / 282.7 MB Notification: Performance of pre-optimization done (n=198): time 4.288e-06/0.2541, allocations: 0 / 336.7 MB, free: 2.523 MB / 282.7 MB Notification: Performance of matching and sorting (n=218): time 0.009252/0.2633, allocations: 5.088 MB / 341.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.2634, allocations: 77.41 kB / 341.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002212/0.2656, allocations: 1.872 MB / 343.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001277/0.2657, allocations: 61.7 kB / 343.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001027/0.2667, allocations: 1.77 MB / 345.5 MB, free: 9.613 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00052/0.2672, allocations: 0.7814 MB / 346.3 MB, free: 8.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004732/0.2677, allocations: 438.5 kB / 346.7 MB, free: 8.402 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.2678, allocations: 476.8 kB / 347.2 MB, free: 7.934 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007134/0.2686, allocations: 380.4 kB / 347.6 MB, free: 7.559 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000995/0.2695, allocations: 1.053 MB / 348.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/0.2715, allocations: 1.613 MB / 350.2 MB, free: 4.449 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.84e-05/0.2715, allocations: 4 kB / 350.2 MB, free: 4.445 MB / 298.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003722/0.2752, allocations: 2.106 MB / 352.3 MB, free: 2.414 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.718e-05/0.2753, allocations: 11.94 kB / 352.4 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.85e-05/0.2753, allocations: 16 kB / 352.4 MB, free: 2.387 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001618/0.2769, allocations: 0.6114 MB / 353 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.2781, allocations: 0.5054 MB / 353.5 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006088/0.2842, allocations: 7.809 MB / 361.3 MB, free: 9.152 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/0.2861, allocations: 107.9 kB / 361.4 MB, free: 9.047 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/0.2863, allocations: 84 kB / 361.5 MB, free: 8.965 MB / 314.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.001131/0.2874, allocations: 295.7 kB / 361.8 MB, free: 8.691 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005/0.2879, allocations: 338.3 kB / 362.1 MB, free: 8.359 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002719/0.2906, allocations: 1.841 MB / 363.9 MB, free: 6.508 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.2906, allocations: 24 kB / 364 MB, free: 6.484 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.2906, allocations: 8 kB / 364 MB, free: 6.477 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.2906, allocations: 15.89 kB / 364 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007405/0.298, allocations: 4.981 MB / 369 MB, free: 1.465 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.2981, allocations: 4 kB / 369 MB, free: 1.461 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009154/0.299, allocations: 378.5 kB / 369.3 MB, free: 1.109 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001625/0.3006, allocations: 0.6633 MB / 370 MB, free: 440 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001467/0.3007, allocations: 51.98 kB / 370.1 MB, free: 388 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006139/0.3069, allocations: 9.49 MB / 379.6 MB, free: 6.445 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.3069, allocations: 7.094 kB / 379.6 MB, free: 6.441 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003964/0.3109, allocations: 2.54 MB / 382.1 MB, free: 3.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/0.3119, allocations: 494.1 kB / 382.6 MB, free: 3.355 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/0.3121, allocations: 55.92 kB / 382.6 MB, free: 3.301 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006447/0.3128, allocations: 107.9 kB / 382.7 MB, free: 3.195 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003333/0.3131, allocations: 189.4 kB / 382.9 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-05/0.3132, allocations: 63.98 kB / 383 MB, free: 2.949 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001315/0.3145, allocations: 1.067 MB / 384.1 MB, free: 1.863 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3145, allocations: 4 kB / 384.1 MB, free: 1.859 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002138/0.3166, allocations: 0.789 MB / 384.8 MB, free: 1.07 MB / 330.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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005188/0.3171, allocations: 243.7 kB / 385.1 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002878/0.32, allocations: 2.211 MB / 387.3 MB, free: 14.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.32, allocations: 4 kB / 387.3 MB, free: 14.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001771/0.3218, allocations: 1.754 MB / 389.1 MB, free: 12.85 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/0.3236, allocations: 0.6526 MB / 389.7 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/0.3337, allocations: 6.455 MB / 396.2 MB, free: 5.688 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009163/0.3346, allocations: 1.022 MB / 397.2 MB, free: 4.645 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001415/0.336, allocations: 0.5045 MB / 397.7 MB, free: 4.133 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004027/0.3364, allocations: 164.5 kB / 397.9 MB, free: 3.973 MB / 346.7 MB Notification: Performance of SimCode: time 2.284e-06/0.3364, allocations: 4 kB / 397.9 MB, free: 3.969 MB / 346.7 MB Notification: Performance of Templates: time 0.1571/0.4935, allocations: 41.37 MB / 439.2 MB, free: 122.5 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9228804358281195]