Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001433/0.001433, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002441/0.002441, allocations: 156.9 kB / 24.26 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 177 MB / 204.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.684e-05/3.926e-05, allocations: 2.312 kB / 272.2 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01699/0.01703, allocations: 11.38 MB / 283.6 MB, free: 6.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009411/0.02644, allocations: 4.073 MB / 287.7 MB, free: 2.254 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002132/0.02858, allocations: 103.3 kB / 287.8 MB, free: 2.152 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003088/0.03166, allocations: 0.978 MB / 288.8 MB, free: 1.168 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.128/0.1596, allocations: 1.298 MB / 290.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002637/0.1623, allocations: 0.5317 MB / 290.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007739/0.17, allocations: 4.84 MB / 295.4 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004187/0.1742, allocations: 2.012 MB / 297.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0072/0.1814, allocations: 3.215 MB / 300.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00443/0.1858, allocations: 2.309 MB / 303 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00171/0.1875, allocations: 0.553 MB / 303.5 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002005/0.1895, allocations: 0.6552 MB / 304.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001182/0.1907, allocations: 1.588 MB / 305.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002627/0.1934, allocations: 1.732 MB / 307.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005823/0.1992, allocations: 7.583 MB / 315.1 MB, free: 4.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1992, allocations: 0.6562 kB / 315.1 MB, free: 4.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1992, allocations: 0.9375 kB / 315.1 MB, free: 4.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002047/0.1994, allocations: 0 / 315.1 MB, free: 4.5 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: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.008481/0.2079, allocations: 4.719 MB / 319.8 MB, free: 15.76 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.2079, allocations: 15.98 kB / 319.8 MB, free: 15.74 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002223/0.2101, allocations: 0.8444 MB / 320.7 MB, free: 14.9 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005222/0.2154, allocations: 2.643 MB / 323.3 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002737/0.2156, allocations: 266.4 kB / 323.6 MB, free: 12.06 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006181/0.2162, allocations: 363.4 kB / 323.9 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009682/0.2259, allocations: 5.309 MB / 329.2 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.79e-05/0.226, allocations: 4 kB / 329.2 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003821/0.2264, allocations: 147.1 kB / 329.4 MB, free: 6.148 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002531/0.2266, allocations: 200.3 kB / 329.6 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008087/0.2347, allocations: 4.302 MB / 333.9 MB, free: 1.656 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02561/0.2603, allocations: 13.1 MB / 347 MB, free: 4.598 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004711/0.265, allocations: 2.698 MB / 349.7 MB, free: 1.953 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003569/0.2686, allocations: 1.883 MB / 351.6 MB, free: 80 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002801/0.2689, allocations: 65.97 kB / 351.6 MB, free: 12 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.02e-05/0.269, allocations: 60.03 kB / 351.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=198): time 4.308e-06/0.269, allocations: 0 / 351.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=218): time 0.02244/0.2914, allocations: 9.665 MB / 361.4 MB, free: 6.312 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/0.2915, allocations: 81.34 kB / 361.4 MB, free: 6.219 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003899/0.2954, allocations: 2.195 MB / 363.6 MB, free: 3.988 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001844/0.2956, allocations: 61.7 kB / 363.7 MB, free: 3.922 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001567/0.2971, allocations: 1.684 MB / 365.4 MB, free: 2.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007956/0.2979, allocations: 0.7641 MB / 366.1 MB, free: 1.477 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007816/0.2987, allocations: 412.5 kB / 366.5 MB, free: 1.066 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.2989, allocations: 301.1 kB / 366.8 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00231/0.3012, allocations: 1.299 MB / 368.1 MB, free: 15.47 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002779/0.304, allocations: 1.78 MB / 369.9 MB, free: 13.51 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005374/0.3093, allocations: 3.21 MB / 373.1 MB, free: 10.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.3094, allocations: 7.844 kB / 373.1 MB, free: 10.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007943/0.3173, allocations: 4.155 MB / 377.3 MB, free: 6.086 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.3173, allocations: 10.97 kB / 377.3 MB, free: 6.078 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-05/0.3174, allocations: 12 kB / 377.3 MB, free: 6.066 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003501/0.3209, allocations: 0.9395 MB / 378.3 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002271/0.3231, allocations: 0.5316 MB / 378.8 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01275/0.3359, allocations: 9.034 MB / 387.8 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/0.3379, allocations: 115.9 kB / 387.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002206/0.3381, allocations: 84 kB / 388 MB, free: 11.12 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.002408/0.3406, allocations: 1.227 MB / 389.2 MB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008285/0.3414, allocations: 342.3 kB / 389.6 MB, free: 9.578 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007179/0.3486, allocations: 3.671 MB / 393.2 MB, free: 5.906 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.1e-05/0.3486, allocations: 24 kB / 393.3 MB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/0.3486, allocations: 8 kB / 393.3 MB, free: 5.875 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-05/0.3486, allocations: 11.95 kB / 393.3 MB, free: 5.863 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01411/0.3627, allocations: 7.118 MB / 400.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.3627, allocations: 4 kB / 400.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001716/0.3645, allocations: 381 kB / 400.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003727/0.3682, allocations: 0.9878 MB / 401.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001642/0.3684, allocations: 55.98 kB / 401.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01412/0.3825, allocations: 10.52 MB / 412.3 MB, free: 2.441 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.3825, allocations: 4 kB / 412.4 MB, free: 2.438 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/0.3929, allocations: 5.555 MB / 417.9 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001546/0.3944, allocations: 0.5461 MB / 418.5 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003258/0.3948, allocations: 47.98 kB / 418.5 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.3961, allocations: 111.9 kB / 418.6 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000492/0.3966, allocations: 197.1 kB / 418.8 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001575/0.3967, allocations: 59.98 kB / 418.9 MB, free: 11.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00256/0.3993, allocations: 1.497 MB / 420.4 MB, free: 10.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3993, allocations: 0 / 420.4 MB, free: 10.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002373/0.4016, allocations: 0.7929 MB / 421.1 MB, free: 9.582 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.0008109/0.4025, allocations: 247.2 kB / 421.4 MB, free: 9.363 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006447/0.4089, allocations: 3.618 MB / 425 MB, free: 5.766 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.4089, allocations: 4 kB / 425 MB, free: 5.762 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004076/0.413, allocations: 2.309 MB / 427.3 MB, free: 3.434 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002851/0.4158, allocations: 0.6638 MB / 428 MB, free: 2.797 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1136/0.5294, allocations: 7.754 MB / 435.7 MB, free: 117.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003237/0.5326, allocations: 2.249 MB / 438 MB, free: 117.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002528/0.5352, allocations: 0.6397 MB / 438.6 MB, free: 117.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006979/0.5359, allocations: 168.6 kB / 438.8 MB, free: 117.3 MB / 378.7 MB Notification: Performance of SimCode: time 3.045e-06/0.5359, allocations: 0 / 438.8 MB, free: 117.3 MB / 378.7 MB Notification: Performance of Templates: time 0.05772/0.5936, allocations: 40.4 MB / 479.2 MB, free: 88.11 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.692107248003595]