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.001269/0.001269, allocations: 79.91 kB / 21.18 MB, free: 3.387 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.0008665/0.0008665, allocations: 145.1 kB / 24.54 MB, free: 32 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 0.9931/0.9931, allocations: 173.3 MB / 201.1 MB, free: 9.336 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.453e-06/1.453e-06, allocations: 0 / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.89e-05, allocations: 6.25 kB / 268 MB, free: 6.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01034/0.01036, allocations: 12.75 MB / 280.8 MB, free: 9.594 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005365/0.01572, allocations: 4.132 MB / 284.9 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008726/0.0166, allocations: 103.3 kB / 285 MB, free: 5.348 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.01802, allocations: 0.9744 MB / 286 MB, free: 4.367 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001734/0.01976, allocations: 1.288 MB / 287.3 MB, free: 3.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008902/0.02065, allocations: 0.5187 MB / 287.8 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1388/0.1594, allocations: 4.788 MB / 292.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00286/0.1623, allocations: 2.015 MB / 294.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004408/0.1667, allocations: 3.209 MB / 297.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003407/0.1701, allocations: 2.487 MB / 300.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001334/0.1714, allocations: 0.5527 MB / 300.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.1726, allocations: 0.6412 MB / 301.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009262/0.1735, allocations: 1.608 MB / 303.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001809/0.1753, allocations: 1.746 MB / 304.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002853/0.1782, allocations: 4.057 MB / 308.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1782, allocations: 1.844 kB / 308.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.1782, allocations: 0 / 308.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.715e-05/0.1782, allocations: 0 / 308.9 MB, free: 12.12 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.004623/0.1828, allocations: 4.976 MB / 313.9 MB, free: 9.121 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.1829, allocations: 7.953 kB / 313.9 MB, free: 9.121 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009828/0.1839, allocations: 0.8136 MB / 314.7 MB, free: 8.348 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002227/0.1861, allocations: 2.364 MB / 317 MB, free: 6.066 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.1862, allocations: 262.1 kB / 317.3 MB, free: 5.812 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003066/0.1865, allocations: 367.5 kB / 317.7 MB, free: 5.457 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0033/0.1898, allocations: 3.036 MB / 320.7 MB, free: 2.293 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.663e-05/0.1899, allocations: 15.88 kB / 320.7 MB, free: 2.277 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002039/0.1901, allocations: 149.3 kB / 320.9 MB, free: 2.137 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.913e-05/0.1902, allocations: 187.8 kB / 321 MB, free: 1.957 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0023/0.1925, allocations: 1.324 MB / 322.4 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01145/0.2039, allocations: 11.87 MB / 334.2 MB, free: 4.793 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/0.2058, allocations: 1.517 MB / 335.8 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.2071, allocations: 0.9607 MB / 336.7 MB, free: 2.355 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001827/0.2073, allocations: 65.97 kB / 336.8 MB, free: 2.289 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.2073, allocations: 59.39 kB / 336.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of pre-optimization done (n=198): time 3.676e-06/0.2073, allocations: 0 / 336.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of matching and sorting (n=218): time 0.007393/0.2147, allocations: 5.057 MB / 341.9 MB, free: 13.19 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.2148, allocations: 81.34 kB / 342 MB, free: 13.1 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/0.2167, allocations: 1.879 MB / 343.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.376e-05/0.2168, allocations: 61.7 kB / 343.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008492/0.2177, allocations: 1.766 MB / 345.7 MB, free: 9.336 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004375/0.2181, allocations: 0.7869 MB / 346.5 MB, free: 8.559 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004825/0.2186, allocations: 442.5 kB / 346.9 MB, free: 8.117 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.2187, allocations: 476.8 kB / 347.4 MB, free: 7.648 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006784/0.2194, allocations: 380.4 kB / 347.7 MB, free: 7.273 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.2204, allocations: 1.053 MB / 348.8 MB, free: 5.977 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002104/0.2225, allocations: 1.619 MB / 350.4 MB, free: 4.164 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/0.2225, allocations: 4 kB / 350.4 MB, free: 4.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003046/0.2256, allocations: 2.111 MB / 352.5 MB, free: 2.121 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.2256, allocations: 11.94 kB / 352.5 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.2256, allocations: 16 kB / 352.6 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001488/0.2271, allocations: 0.6058 MB / 353.2 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.2282, allocations: 0.524 MB / 353.7 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005614/0.2338, allocations: 7.803 MB / 361.5 MB, free: 8.852 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009697/0.2348, allocations: 107.9 kB / 361.6 MB, free: 8.746 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.2349, allocations: 95.98 kB / 361.7 MB, free: 8.652 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.0008148/0.2357, allocations: 293.4 kB / 362 MB, free: 8.383 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003624/0.2361, allocations: 342.3 kB / 362.3 MB, free: 8.047 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002708/0.2388, allocations: 1.838 MB / 364.1 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.2388, allocations: 20 kB / 364.2 MB, free: 6.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.2388, allocations: 11.94 kB / 364.2 MB, free: 6.168 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.2388, allocations: 7.969 kB / 364.2 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006404/0.2452, allocations: 5.026 MB / 369.2 MB, free: 1.117 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.2452, allocations: 4 kB / 369.2 MB, free: 1.113 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008499/0.2461, allocations: 386.5 kB / 369.6 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001537/0.2476, allocations: 0.6712 MB / 370.3 MB, free: 68 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/0.2477, allocations: 55.97 kB / 370.3 MB, free: 12 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006031/0.2538, allocations: 9.572 MB / 379.9 MB, free: 5.996 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.2538, allocations: 7.938 kB / 379.9 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003416/0.2572, allocations: 2.551 MB / 382.4 MB, free: 3.379 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007686/0.258, allocations: 0.4982 MB / 382.9 MB, free: 2.879 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/0.2582, allocations: 51.98 kB / 383 MB, free: 2.828 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006452/0.2588, allocations: 115.9 kB / 383.1 MB, free: 2.715 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002888/0.2591, allocations: 189.1 kB / 383.3 MB, free: 2.531 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.2592, allocations: 63.98 kB / 383.4 MB, free: 2.469 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001157/0.2604, allocations: 1.071 MB / 384.4 MB, free: 1.379 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2604, allocations: 0 / 384.4 MB, free: 1.379 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001803/0.2622, allocations: 0.7929 MB / 385.2 MB, free: 0.5859 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%), (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.000657/0.2628, allocations: 239.1 kB / 385.5 MB, free: 384 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002656/0.2655, allocations: 2.234 MB / 387.7 MB, free: 14.14 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.2655, allocations: 0 / 387.7 MB, free: 14.14 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001852/0.2673, allocations: 1.781 MB / 389.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.2689, allocations: 0.6554 MB / 390.1 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008388/0.2773, allocations: 6.458 MB / 396.6 MB, free: 5.152 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008488/0.2781, allocations: 1.026 MB / 397.6 MB, free: 4.105 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009901/0.2791, allocations: 0.5045 MB / 398.1 MB, free: 3.594 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003965/0.2795, allocations: 168.5 kB / 398.3 MB, free: 3.43 MB / 346.7 MB Notification: Performance of SimCode: time 1.172e-06/0.2795, allocations: 0 / 398.3 MB, free: 3.43 MB / 346.7 MB Notification: Performance of Templates: time 0.1781/0.4576, allocations: 40.35 MB / 438.6 MB, free: 121.9 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: 5.060274539049715]