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.001896/0.001896, allocations: 84.66 kB / 20.95 MB, free: 3.449 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.002167/0.002167, allocations: 149.1 kB / 24.25 MB, free: 156 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.461/1.461, allocations: 173.3 MB / 200.8 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 178] 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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.024e-05/3.211e-05, allocations: 2.312 kB / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01649/0.01652, allocations: 11.29 MB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01006/0.02658, allocations: 3.996 MB / 282.6 MB, free: 7.348 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002085/0.02866, allocations: 103.3 kB / 282.7 MB, free: 7.246 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002613/0.03127, allocations: 0.9585 MB / 283.7 MB, free: 6.281 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003851/0.03512, allocations: 1.285 MB / 285 MB, free: 4.988 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.03635, allocations: 0.5187 MB / 285.5 MB, free: 4.469 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1259/0.1623, allocations: 4.797 MB / 290.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003088/0.1654, allocations: 2.011 MB / 292.3 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00601/0.1714, allocations: 3.174 MB / 295.5 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005281/0.1767, allocations: 2.289 MB / 297.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002305/0.179, allocations: 0.5513 MB / 298.3 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002571/0.1815, allocations: 0.6468 MB / 299 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001774/0.1833, allocations: 1.584 MB / 300.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003181/0.1865, allocations: 1.721 MB / 302.3 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006233/0.1927, allocations: 7.541 MB / 309.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1927, allocations: 0.5938 kB / 309.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1927, allocations: 0 / 309.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001755/0.1929, allocations: 1.844 kB / 309.8 MB, free: 10.77 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.009117/0.202, allocations: 4.69 MB / 314.5 MB, free: 7.648 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.2021, allocations: 9.516 kB / 314.5 MB, free: 7.648 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/0.2038, allocations: 0.8135 MB / 315.3 MB, free: 7.273 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003815/0.2076, allocations: 2.617 MB / 317.9 MB, free: 4.742 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/0.2077, allocations: 261.9 kB / 318.2 MB, free: 4.488 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000445/0.2082, allocations: 364.8 kB / 318.5 MB, free: 4.137 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008551/0.2167, allocations: 5.277 MB / 323.8 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.944e-05/0.2168, allocations: 7.891 kB / 323.8 MB, free: 14.74 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004181/0.2173, allocations: 147.1 kB / 324 MB, free: 14.6 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002631/0.2175, allocations: 183 kB / 324.2 MB, free: 14.42 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0113/0.2288, allocations: 4.288 MB / 328.4 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03098/0.2598, allocations: 13.05 MB / 341.5 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005202/0.265, allocations: 2.712 MB / 344.2 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003719/0.2687, allocations: 1.875 MB / 346.1 MB, free: 8.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002882/0.269, allocations: 65.97 kB / 346.1 MB, free: 8.523 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.898e-05/0.2691, allocations: 56.56 kB / 346.2 MB, free: 8.461 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 4.147e-06/0.2691, allocations: 0.8438 kB / 346.2 MB, free: 8.461 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.0247/0.2938, allocations: 9.661 MB / 355.9 MB, free: 14.83 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.172e-05/0.2939, allocations: 81.34 kB / 355.9 MB, free: 14.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004125/0.298, allocations: 2.179 MB / 358.1 MB, free: 12.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000272/0.2983, allocations: 69.55 kB / 358.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001616/0.2999, allocations: 1.665 MB / 359.9 MB, free: 10.78 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008925/0.3008, allocations: 0.7593 MB / 360.6 MB, free: 10.03 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008329/0.3016, allocations: 412.5 kB / 361 MB, free: 9.621 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3018, allocations: 301.1 kB / 361.3 MB, free: 9.324 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002472/0.3042, allocations: 1.305 MB / 362.6 MB, free: 8.016 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003021/0.3073, allocations: 1.774 MB / 364.4 MB, free: 6.059 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005438/0.3127, allocations: 3.213 MB / 367.6 MB, free: 2.719 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.537e-05/0.3127, allocations: 4 kB / 367.6 MB, free: 2.715 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00906/0.3218, allocations: 4.148 MB / 371.8 MB, free: 14.65 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.553e-05/0.3218, allocations: 15.94 kB / 371.8 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.191e-05/0.3219, allocations: 12 kB / 371.8 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003408/0.3253, allocations: 0.9409 MB / 372.7 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002211/0.3275, allocations: 0.5288 MB / 373.3 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01262/0.3401, allocations: 9.052 MB / 382.3 MB, free: 3.855 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002454/0.3426, allocations: 119.8 kB / 382.4 MB, free: 3.738 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000229/0.3428, allocations: 84 kB / 382.5 MB, free: 3.656 MB / 330.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.002825/0.3456, allocations: 1.217 MB / 383.7 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009276/0.3465, allocations: 334.4 kB / 384 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007541/0.3541, allocations: 3.682 MB / 387.7 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-05/0.3541, allocations: 20 kB / 387.8 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.922e-05/0.3541, allocations: 11.94 kB / 387.8 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.378e-05/0.3541, allocations: 7.969 kB / 387.8 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01481/0.369, allocations: 7.101 MB / 394.9 MB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.369, allocations: 4 kB / 394.9 MB, free: 7.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001837/0.3708, allocations: 389.3 kB / 395.3 MB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003715/0.3745, allocations: 0.9775 MB / 396.2 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001963/0.3747, allocations: 51.98 kB / 396.3 MB, free: 5.898 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01391/0.3886, allocations: 10.54 MB / 406.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.455e-06/0.3886, allocations: 7.938 kB / 406.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01074/0.3994, allocations: 5.541 MB / 412.4 MB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001934/0.4013, allocations: 0.5412 MB / 412.9 MB, free: 4.871 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004496/0.4018, allocations: 51.98 kB / 413 MB, free: 4.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/0.4031, allocations: 115.9 kB / 413.1 MB, free: 4.707 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005592/0.4037, allocations: 193.3 kB / 413.3 MB, free: 4.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001623/0.4038, allocations: 59.98 kB / 413.3 MB, free: 4.461 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002777/0.4066, allocations: 1.485 MB / 414.8 MB, free: 2.957 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4066, allocations: 0 / 414.8 MB, free: 2.957 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003007/0.4096, allocations: 0.793 MB / 415.6 MB, free: 2.164 MB / 362.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.0006536/0.4103, allocations: 246.1 kB / 415.8 MB, free: 1.949 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00707/0.4173, allocations: 3.626 MB / 419.5 MB, free: 14.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.455e-06/0.4174, allocations: 0 / 419.5 MB, free: 14.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004523/0.4219, allocations: 2.312 MB / 421.8 MB, free: 12.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003536/0.4254, allocations: 0.6508 MB / 422.4 MB, free: 11.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/0.4399, allocations: 7.721 MB / 430.1 MB, free: 3.594 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002955/0.4428, allocations: 2.226 MB / 432.4 MB, free: 1.328 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002145/0.445, allocations: 0.6373 MB / 433 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00064/0.4456, allocations: 168.5 kB / 433.2 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of SimCode: time 1.884e-06/0.4456, allocations: 0 / 433.2 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of Templates: time 0.1816/0.6273, allocations: 40.3 MB / 473.5 MB, free: 99.61 MB / 378.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.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.595110844005831]