Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.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.001314/0.001314, allocations: 74.19 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001353/0.001353, allocations: 151.8 kB / 24.49 MB, free: 3.723 MB / 14.72 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.426/1.426, allocations: 173.4 MB / 201.1 MB, free: 12.69 MB / 190.1 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.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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 46.52 kB / 319.5 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08934/0.09091, allocations: 52.16 MB / 371.6 MB, free: 7.293 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.0144/0.1053, allocations: 11.3 MB / 382.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008045/0.1134, allocations: 3.969 MB / 386.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001814/0.1152, allocations: 103.3 kB / 387 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00237/0.1175, allocations: 0.9588 MB / 388 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003145/0.1207, allocations: 1.235 MB / 389.2 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.1218, allocations: 0.515 MB / 389.7 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005496/0.1272, allocations: 4.63 MB / 394.3 MB, free: 488 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00272/0.13, allocations: 2.007 MB / 396.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003563/0.1335, allocations: 2.185 MB / 398.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003901/0.1374, allocations: 2.537 MB / 401.1 MB, free: 9.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008249/0.1383, allocations: 0.5547 MB / 401.6 MB, free: 9.125 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.1395, allocations: 0.6287 MB / 402.2 MB, free: 8.496 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001465/0.141, allocations: 1.543 MB / 403.8 MB, free: 6.949 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002335/0.1433, allocations: 2.011 MB / 405.8 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007465/0.1508, allocations: 7.482 MB / 413.3 MB, free: 13.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1508, allocations: 0 / 413.3 MB, free: 13.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1508, allocations: 3.938 kB / 413.3 MB, free: 13.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001298/0.1509, allocations: 0 / 413.3 MB, free: 13.42 MB / 382.1 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.009048/0.16, allocations: 4.74 MB / 418 MB, free: 8.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.16, allocations: 8.922 kB / 418 MB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/0.1613, allocations: 0.5175 MB / 418.6 MB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004711/0.166, allocations: 2.517 MB / 421.1 MB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002256/0.1662, allocations: 275 kB / 421.3 MB, free: 5.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005135/0.1667, allocations: 347.9 kB / 421.7 MB, free: 4.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008332/0.1751, allocations: 5.283 MB / 427 MB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.308e-05/0.1752, allocations: 11.95 kB / 427 MB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003223/0.1755, allocations: 136 kB / 427.1 MB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001978/0.1757, allocations: 191 kB / 427.3 MB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007801/0.1835, allocations: 4.29 MB / 431.6 MB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02351/0.207, allocations: 12.86 MB / 444.4 MB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003925/0.2109, allocations: 2.696 MB / 447.1 MB, free: 11.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003146/0.2141, allocations: 1.877 MB / 449 MB, free: 9.176 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002265/0.2143, allocations: 49.97 kB / 449.1 MB, free: 9.125 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.842e-05/0.2143, allocations: 60.55 kB / 449.1 MB, free: 9.059 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.127e-06/0.2143, allocations: 0 / 449.1 MB, free: 9.059 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02071/0.2351, allocations: 9.582 MB / 458.7 MB, free: 15.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.2351, allocations: 73.41 kB / 458.8 MB, free: 15.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003769/0.2389, allocations: 2.186 MB / 461 MB, free: 13.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002318/0.2391, allocations: 61.7 kB / 461 MB, free: 13.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001511/0.2406, allocations: 1.664 MB / 462.7 MB, free: 11.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008374/0.2415, allocations: 0.7747 MB / 463.5 MB, free: 10.63 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007121/0.2422, allocations: 416.5 kB / 463.9 MB, free: 10.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.2423, allocations: 305.1 kB / 464.2 MB, free: 9.914 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002173/0.2445, allocations: 1.301 MB / 465.5 MB, free: 8.609 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002704/0.2472, allocations: 1.774 MB / 467.2 MB, free: 6.645 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004986/0.2522, allocations: 3.208 MB / 470.5 MB, free: 3.258 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.2522, allocations: 4 kB / 470.5 MB, free: 3.254 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.1844/0.4366, allocations: 4.046 MB / 474.5 MB, free: 87.37 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.419e-05/0.4366, allocations: 11.61 kB / 474.5 MB, free: 87.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-05/0.4366, allocations: 13.34 kB / 474.5 MB, free: 87.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002712/0.4393, allocations: 0.8784 MB / 475.4 MB, free: 87.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00226/0.4416, allocations: 0.5257 MB / 475.9 MB, free: 87.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008702/0.4503, allocations: 9.005 MB / 484.9 MB, free: 82.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.4521, allocations: 114.8 kB / 485 MB, free: 82.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001686/0.4523, allocations: 87.92 kB / 485.1 MB, free: 82.04 MB / 430.1 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.001777/0.4541, allocations: 1.212 MB / 486.3 MB, free: 81.44 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004204/0.4545, allocations: 259.4 kB / 486.6 MB, free: 81.44 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005141/0.4597, allocations: 3.682 MB / 490.3 MB, free: 80 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.4597, allocations: 19.66 kB / 490.3 MB, free: 80 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.4597, allocations: 7.75 kB / 490.3 MB, free: 80 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.641e-05/0.4597, allocations: 10.64 kB / 490.3 MB, free: 80 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009486/0.4692, allocations: 7.099 MB / 497.4 MB, free: 77.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.4692, allocations: 0 / 497.4 MB, free: 77.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/0.4706, allocations: 387.7 kB / 497.8 MB, free: 77.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00255/0.4732, allocations: 0.9346 MB / 498.7 MB, free: 76.53 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001306/0.4733, allocations: 60.5 kB / 498.8 MB, free: 76.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007919/0.4812, allocations: 10.48 MB / 0.4973 GB, free: 65.81 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4812, allocations: 4 kB / 0.4973 GB, free: 65.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006413/0.4877, allocations: 5.481 MB / 0.5027 GB, free: 60.4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/0.4888, allocations: 0.5401 MB / 0.5032 GB, free: 59.94 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/0.489, allocations: 51.92 kB / 0.5033 GB, free: 59.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.4902, allocations: 115.9 kB / 0.5034 GB, free: 59.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003277/0.4906, allocations: 189.7 kB / 0.5036 GB, free: 59.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/0.4907, allocations: 59.98 kB / 0.5036 GB, free: 59.53 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001619/0.4923, allocations: 1.485 MB / 0.5051 GB, free: 58.03 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4923, allocations: 4 kB / 0.5051 GB, free: 58.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001945/0.4942, allocations: 0.7893 MB / 0.5058 GB, free: 57.24 MB / 430.1 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.0004642/0.4947, allocations: 238.5 kB / 0.5061 GB, free: 57.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004414/0.4991, allocations: 3.616 MB / 0.5096 GB, free: 53.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4991, allocations: 2.844 kB / 0.5096 GB, free: 53.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002771/0.5019, allocations: 2.327 MB / 0.5119 GB, free: 51 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/0.5043, allocations: 0.6307 MB / 0.5125 GB, free: 50.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009129/0.5134, allocations: 7.817 MB / 0.5201 GB, free: 42.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001752/0.5152, allocations: 2.23 MB / 0.5223 GB, free: 40.27 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001513/0.5167, allocations: 0.6451 MB / 0.5229 GB, free: 39.62 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004677/0.5172, allocations: 160.5 kB / 0.5231 GB, free: 39.46 MB / 430.1 MB Notification: Performance of SimCode: time 7.71e-07/0.5172, allocations: 0 / 0.5231 GB, free: 39.46 MB / 430.1 MB Notification: Performance of Templates: time 0.06634/0.5835, allocations: 40.43 MB / 0.5626 GB, free: 15.57 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.430242051021196]