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.001291/0.001291, allocations: 85.05 kB / 21.5 MB, free: 2.984 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.0014/0.0014, allocations: 141.9 kB / 24.89 MB, free: 9.219 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.9219/0.9219, allocations: 173.3 MB / 201.5 MB, free: 9.172 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.252e-06/1.252e-06, allocations: 0 / 268.5 MB, free: 6.152 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.518e-05, allocations: 6.25 kB / 268.5 MB, free: 6.145 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01336/0.01339, allocations: 12.4 MB / 280.9 MB, free: 9.688 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00931/0.0227, allocations: 4.259 MB / 285.1 MB, free: 5.414 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002064/0.02476, allocations: 103.3 kB / 285.2 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002114/0.02688, allocations: 0.9861 MB / 286.2 MB, free: 4.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003989/0.03087, allocations: 1.296 MB / 287.5 MB, free: 3.016 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.03222, allocations: 0.5148 MB / 288 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1302/0.1624, allocations: 4.8 MB / 292.8 MB, free: 16.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002257/0.1647, allocations: 2.067 MB / 294.9 MB, free: 16.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003945/0.1687, allocations: 3.355 MB / 298.3 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002709/0.1714, allocations: 2.44 MB / 300.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009901/0.1724, allocations: 0.541 MB / 301.2 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009792/0.1733, allocations: 0.623 MB / 301.9 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007863/0.1741, allocations: 1.565 MB / 303.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00139/0.1755, allocations: 1.721 MB / 305.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002472/0.178, allocations: 4.027 MB / 309.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.178, allocations: 0 / 309.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.178, allocations: 0 / 309.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.374e-05/0.1781, allocations: 0 / 309.2 MB, free: 12.47 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.003688/0.1818, allocations: 4.394 MB / 313.6 MB, free: 9.852 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.1818, allocations: 12.3 kB / 313.6 MB, free: 9.844 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007933/0.1826, allocations: 0.6585 MB / 314.2 MB, free: 9.191 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.1842, allocations: 1.615 MB / 315.9 MB, free: 7.656 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.949e-05/0.1843, allocations: 266.6 kB / 316.1 MB, free: 7.398 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002784/0.1846, allocations: 362.4 kB / 316.5 MB, free: 7.051 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002186/0.1868, allocations: 2.849 MB / 319.3 MB, free: 4.234 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.205e-05/0.1868, allocations: 11.89 kB / 319.3 MB, free: 4.223 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001929/0.187, allocations: 143 kB / 319.5 MB, free: 4.086 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.443e-05/0.1871, allocations: 183 kB / 319.7 MB, free: 3.906 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/0.1885, allocations: 1.069 MB / 320.7 MB, free: 2.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008773/0.1972, allocations: 9.125 MB / 329.9 MB, free: 10.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.1985, allocations: 1.357 MB / 331.2 MB, free: 8.844 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008936/0.1994, allocations: 0.7754 MB / 332 MB, free: 8.094 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001614/0.1996, allocations: 69.81 kB / 332.1 MB, free: 8.027 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.1996, allocations: 52.56 kB / 332.1 MB, free: 7.969 MB / 282.7 MB Notification: Performance of pre-optimization done (n=198): time 3.657e-06/0.1996, allocations: 0 / 332.1 MB, free: 7.969 MB / 282.7 MB Notification: Performance of matching and sorting (n=218): time 0.006218/0.2058, allocations: 3.972 MB / 336.1 MB, free: 4.059 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.2058, allocations: 73.41 kB / 336.1 MB, free: 3.973 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.2069, allocations: 1.507 MB / 337.7 MB, free: 2.715 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.207, allocations: 65.7 kB / 337.7 MB, free: 2.645 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005202/0.2075, allocations: 1.354 MB / 339.1 MB, free: 1.367 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003604/0.2079, allocations: 0.7612 MB / 339.8 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003941/0.2083, allocations: 391.5 kB / 340.2 MB, free: 320 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.202e-05/0.2083, allocations: 301.1 kB / 340.5 MB, free: 16 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004051/0.2087, allocations: 291.5 kB / 340.8 MB, free: 15.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005628/0.2093, allocations: 0.7217 MB / 341.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.2104, allocations: 1.284 MB / 342.8 MB, free: 13.51 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.2104, allocations: 4 kB / 342.8 MB, free: 13.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.001843/0.2123, allocations: 1.529 MB / 344.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.2123, allocations: 15.94 kB / 344.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.2123, allocations: 12 kB / 344.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.2135, allocations: 0.572 MB / 344.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009736/0.2145, allocations: 499.8 kB / 345.4 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003805/0.2183, allocations: 5.663 MB / 351.1 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006129/0.2189, allocations: 71.98 kB / 351.2 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.219, allocations: 67.98 kB / 351.2 MB, free: 5.027 MB / 298.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.0005582/0.2195, allocations: 256.6 kB / 351.5 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003002/0.2198, allocations: 239.7 kB / 351.7 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001758/0.2216, allocations: 1.41 MB / 353.1 MB, free: 3.152 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.2216, allocations: 20 kB / 353.1 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.2216, allocations: 11.94 kB / 353.1 MB, free: 3.121 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.2216, allocations: 15.95 kB / 353.2 MB, free: 3.105 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004099/0.2257, allocations: 3.435 MB / 356.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.2257, allocations: 8.062 kB / 356.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007644/0.2265, allocations: 349.2 kB / 356.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001393/0.2279, allocations: 0.684 MB / 357.6 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.493e-05/0.228, allocations: 55.97 kB / 357.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004041/0.232, allocations: 6.903 MB / 364.6 MB, free: 7.672 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.232, allocations: 7.375 kB / 364.6 MB, free: 7.668 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002178/0.2342, allocations: 1.94 MB / 366.5 MB, free: 5.711 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005112/0.2347, allocations: 329.6 kB / 366.9 MB, free: 5.391 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/0.2349, allocations: 51.98 kB / 366.9 MB, free: 5.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000532/0.2354, allocations: 84.05 kB / 367 MB, free: 5.258 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002128/0.2357, allocations: 177 kB / 367.2 MB, free: 5.086 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-05/0.2357, allocations: 39.98 kB / 367.2 MB, free: 5.047 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006616/0.2364, allocations: 0.761 MB / 368 MB, free: 4.352 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2364, allocations: 3.656 kB / 368 MB, free: 4.352 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001383/0.2378, allocations: 0.7929 MB / 368.8 MB, free: 3.559 MB / 314.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.0003837/0.2382, allocations: 231.4 kB / 369 MB, free: 3.363 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001738/0.2399, allocations: 1.71 MB / 370.7 MB, free: 1.695 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-05/0.2399, allocations: 27.81 kB / 370.7 MB, free: 1.672 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.2411, allocations: 1.343 MB / 372.1 MB, free: 344 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.2424, allocations: 0.6525 MB / 372.7 MB, free: 15.7 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006163/0.2486, allocations: 6.157 MB / 378.9 MB, free: 9.516 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006725/0.2493, allocations: 0.865 MB / 379.7 MB, free: 8.633 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006646/0.2499, allocations: 301 kB / 380 MB, free: 8.332 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/0.251, allocations: 0.6162 MB / 380.6 MB, free: 7.711 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.251, allocations: 0 / 380.6 MB, free: 7.711 MB / 330.7 MB Notification: Performance of Templates: time 0.04858/0.2996, allocations: 42.25 MB / 422.9 MB, free: 14.18 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.094103725161403]