Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001355/0.001355, allocations: 119.3 kB / 21.17 MB, free: 0.7734 MB / 14.72 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.001511/0.001511, allocations: 215.5 kB / 24.46 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.458/1.458, allocations: 230.4 MB / 258.1 MB, free: 8.16 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 63.89 kB / 378.8 MB, free: 2.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2501, allocations: 53.32 MB / 432.1 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01596/0.2661, allocations: 13.04 MB / 445.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009274/0.2753, allocations: 4.276 MB / 449.4 MB, free: 5.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002514/0.2778, allocations: 79.69 kB / 449.5 MB, free: 5.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002882/0.2807, allocations: 1.025 MB / 450.5 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004189/0.2849, allocations: 1.231 MB / 451.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.2865, allocations: 0.5343 MB / 452.3 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007397/0.2939, allocations: 4.645 MB / 456.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003775/0.2976, allocations: 2.073 MB / 459 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004963/0.3026, allocations: 2.136 MB / 461.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005061/0.3077, allocations: 2.623 MB / 463.8 MB, free: 7.508 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001325/0.309, allocations: 0.5546 MB / 464.3 MB, free: 6.953 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001718/0.3107, allocations: 0.6522 MB / 465 MB, free: 6.301 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001754/0.3125, allocations: 1.543 MB / 466.5 MB, free: 4.754 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003833/0.3163, allocations: 2.489 MB / 469 MB, free: 2.254 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009487/0.3258, allocations: 7.463 MB / 476.5 MB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3258, allocations: 0 / 476.5 MB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3258, allocations: 0 / 476.5 MB, free: 10.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000207/0.326, allocations: 0 / 476.5 MB, free: 10.77 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.01284/0.3388, allocations: 4.823 MB / 481.3 MB, free: 5.867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.3389, allocations: 8.031 kB / 481.3 MB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001997/0.3409, allocations: 0.5526 MB / 481.8 MB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006064/0.3469, allocations: 2.608 MB / 484.4 MB, free: 2.621 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002927/0.3472, allocations: 267 kB / 484.7 MB, free: 2.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001036/0.3483, allocations: 351.9 kB / 485 MB, free: 2.016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01112/0.3594, allocations: 5.032 MB / 490.1 MB, free: 12.92 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001342/0.3595, allocations: 11.95 kB / 490.1 MB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007677/0.3603, allocations: 152 kB / 490.2 MB, free: 12.76 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002276/0.3605, allocations: 183.1 kB / 490.4 MB, free: 12.58 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009663/0.3702, allocations: 4.294 MB / 494.7 MB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0329/0.4031, allocations: 14.76 MB / 0.4975 GB, free: 9.188 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005472/0.4086, allocations: 4.061 MB / 0.5015 GB, free: 4.828 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003647/0.4122, allocations: 1.873 MB / 0.5033 GB, free: 2.961 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003386/0.4125, allocations: 135.1 kB / 0.5035 GB, free: 2.809 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.401e-05/0.4126, allocations: 60.95 kB / 0.5035 GB, free: 2.742 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.328e-06/0.4126, allocations: 0 / 0.5035 GB, free: 2.742 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02532/0.4379, allocations: 9.985 MB / 0.5133 GB, free: 8.648 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.954e-05/0.438, allocations: 81.34 kB / 0.5133 GB, free: 8.555 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005261/0.4433, allocations: 2.522 MB / 0.5158 GB, free: 6.012 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004026/0.4437, allocations: 61.7 kB / 0.5159 GB, free: 5.945 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001603/0.4453, allocations: 1.658 MB / 0.5175 GB, free: 4.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001081/0.4464, allocations: 0.7747 MB / 0.5182 GB, free: 3.488 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001214/0.4476, allocations: 408.5 kB / 0.5186 GB, free: 3.082 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.4477, allocations: 309.1 kB / 0.5189 GB, free: 2.777 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002479/0.4502, allocations: 1.297 MB / 0.5202 GB, free: 1.477 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002874/0.4531, allocations: 1.779 MB / 0.5219 GB, free: 15.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005551/0.4586, allocations: 3.211 MB / 0.5251 GB, free: 12.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.107e-05/0.4587, allocations: 7.938 kB / 0.5251 GB, free: 12.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008345/0.467, allocations: 4.076 MB / 0.5291 GB, free: 8.008 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/0.467, allocations: 12 kB / 0.5291 GB, free: 7.996 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.37e-05/0.4671, allocations: 12 kB / 0.5291 GB, free: 7.984 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002959/0.47, allocations: 0.8838 MB / 0.5299 GB, free: 7.086 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002439/0.4725, allocations: 0.5266 MB / 0.5305 GB, free: 6.559 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2342/0.7066, allocations: 9.466 MB / 0.5397 GB, free: 96.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00209/0.7087, allocations: 116.9 kB / 0.5398 GB, free: 96.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002332/0.709, allocations: 88.28 kB / 0.5399 GB, free: 96.71 MB / 446.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.002044/0.711, allocations: 1.217 MB / 0.5411 GB, free: 96.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006439/0.7116, allocations: 292.3 kB / 0.5414 GB, free: 96.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005572/0.7172, allocations: 3.696 MB / 0.545 GB, free: 94.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.437e-05/0.7172, allocations: 20.62 kB / 0.545 GB, free: 94.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-05/0.7173, allocations: 6.875 kB / 0.545 GB, free: 94.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.288e-05/0.7173, allocations: 17.59 kB / 0.545 GB, free: 94.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01284/0.7301, allocations: 8.005 MB / 0.5528 GB, free: 91.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/0.7301, allocations: 3.906 kB / 0.5528 GB, free: 91.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/0.7316, allocations: 391.7 kB / 0.5532 GB, free: 91.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002597/0.7342, allocations: 0.9239 MB / 0.5541 GB, free: 91.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001939/0.7344, allocations: 58.23 kB / 0.5542 GB, free: 91.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008405/0.7428, allocations: 11.1 MB / 0.565 GB, free: 81.17 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.7428, allocations: 6.125 kB / 0.565 GB, free: 81.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006773/0.7496, allocations: 5.506 MB / 0.5704 GB, free: 75.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001552/0.7512, allocations: 0.6468 MB / 0.571 GB, free: 75.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004069/0.7516, allocations: 51.98 kB / 0.5711 GB, free: 75.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/0.7528, allocations: 118.9 kB / 0.5712 GB, free: 75.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003363/0.7532, allocations: 189.7 kB / 0.5714 GB, free: 74.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.7533, allocations: 55.98 kB / 0.5714 GB, free: 74.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001989/0.7553, allocations: 1.743 MB / 0.5731 GB, free: 73.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7553, allocations: 0 / 0.5731 GB, free: 73.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002123/0.7574, allocations: 0.7957 MB / 0.5739 GB, free: 72.25 MB / 446.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.0004928/0.7579, allocations: 236.7 kB / 0.5741 GB, free: 72.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004626/0.7625, allocations: 3.769 MB / 0.5778 GB, free: 68.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.7625, allocations: 5.938 kB / 0.5778 GB, free: 68.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002874/0.7654, allocations: 2.386 MB / 0.5801 GB, free: 65.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/0.7687, allocations: 0.7936 MB / 0.5809 GB, free: 64.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/0.7789, allocations: 7.925 MB / 0.5887 GB, free: 57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001665/0.7806, allocations: 2.727 MB / 0.5913 GB, free: 54.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008712/0.7815, allocations: 195.4 kB / 0.5915 GB, free: 54.05 MB / 446.1 MB Notification: Performance of SimCode: time 1.382e-06/0.7815, allocations: 0 / 0.5915 GB, free: 54.05 MB / 446.1 MB Notification: Performance of Templates: time 0.1413/0.9227, allocations: 142.7 MB / 0.7309 GB, free: 7.312 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 16.501994254998863]