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.001605/0.001605, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.00192/0.00192, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 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.452/1.452, allocations: 230.5 MB / 258.1 MB, free: 7.996 MB / 206.1 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 0.001936/0.001936, allocations: 59.91 kB / 379.1 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2974, allocations: 53.4 MB / 432.5 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01606/0.3134, allocations: 13.06 MB / 445.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008931/0.3224, allocations: 4.299 MB / 449.8 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002268/0.3246, allocations: 103.3 kB / 449.9 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002826/0.3275, allocations: 1.021 MB / 451 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003887/0.3313, allocations: 1.262 MB / 452.2 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.3327, allocations: 0.5421 MB / 452.8 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006199/0.3389, allocations: 4.684 MB / 457.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003005/0.3419, allocations: 2.078 MB / 459.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004195/0.3461, allocations: 2.197 MB / 461.7 MB, free: 9.324 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004457/0.3506, allocations: 2.643 MB / 464.4 MB, free: 6.672 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009845/0.3516, allocations: 0.5508 MB / 464.9 MB, free: 6.121 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.3531, allocations: 0.6561 MB / 465.6 MB, free: 5.465 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001571/0.3547, allocations: 1.547 MB / 467.1 MB, free: 3.914 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003398/0.3581, allocations: 2.493 MB / 469.6 MB, free: 1.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008904/0.367, allocations: 7.49 MB / 477.1 MB, free: 9.895 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.367, allocations: 0 / 477.1 MB, free: 9.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.367, allocations: 0 / 477.1 MB, free: 9.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002199/0.3672, allocations: 4 kB / 477.1 MB, free: 9.891 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: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.01186/0.3791, allocations: 4.759 MB / 481.9 MB, free: 5.074 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3791, allocations: 12.03 kB / 481.9 MB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001824/0.381, allocations: 0.5487 MB / 482.4 MB, free: 4.512 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005969/0.3869, allocations: 2.548 MB / 485 MB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002432/0.3872, allocations: 267.4 kB / 485.2 MB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007762/0.388, allocations: 367.8 kB / 485.6 MB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009983/0.3979, allocations: 5.053 MB / 490.7 MB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-05/0.398, allocations: 7.922 kB / 490.7 MB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003553/0.3984, allocations: 148 kB / 490.8 MB, free: 12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002171/0.3986, allocations: 195.1 kB / 491 MB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008442/0.407, allocations: 4.314 MB / 495.3 MB, free: 7.492 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02608/0.4331, allocations: 14.93 MB / 0.4983 GB, free: 8.148 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004283/0.4374, allocations: 2.702 MB / 0.5009 GB, free: 5.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003551/0.441, allocations: 1.877 MB / 0.5028 GB, free: 3.609 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/0.4412, allocations: 53.95 kB / 0.5028 GB, free: 3.555 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.404e-05/0.4413, allocations: 56.56 kB / 0.5029 GB, free: 3.492 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.537e-06/0.4413, allocations: 0 / 0.5029 GB, free: 3.492 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02021/0.4615, allocations: 9.62 MB / 0.5123 GB, free: 9.855 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.442e-05/0.4616, allocations: 77.41 kB / 0.5123 GB, free: 9.766 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004641/0.4662, allocations: 2.514 MB / 0.5148 GB, free: 7.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003908/0.4666, allocations: 61.7 kB / 0.5148 GB, free: 7.164 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001475/0.4681, allocations: 1.67 MB / 0.5165 GB, free: 5.477 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008953/0.469, allocations: 0.7668 MB / 0.5172 GB, free: 4.703 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000716/0.4697, allocations: 424.4 kB / 0.5176 GB, free: 4.281 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.4698, allocations: 309.1 kB / 0.5179 GB, free: 3.977 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002195/0.472, allocations: 1.297 MB / 0.5192 GB, free: 2.676 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002666/0.4747, allocations: 1.782 MB / 0.5209 GB, free: 0.707 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005113/0.4798, allocations: 3.215 MB / 0.5241 GB, free: 13.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.4798, allocations: 4 kB / 0.5241 GB, free: 13.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007853/0.4877, allocations: 4.065 MB / 0.528 GB, free: 9.215 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/0.4877, allocations: 12 kB / 0.5281 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-05/0.4877, allocations: 12 kB / 0.5281 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003023/0.4908, allocations: 0.8799 MB / 0.5289 GB, free: 8.297 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002396/0.4931, allocations: 0.5265 MB / 0.5294 GB, free: 7.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.22/0.7131, allocations: 9.162 MB / 0.5384 GB, free: 96.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002144/0.7153, allocations: 120.4 kB / 0.5385 GB, free: 96.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002003/0.7155, allocations: 85.58 kB / 0.5386 GB, free: 96.27 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.002192/0.7176, allocations: 1.22 MB / 0.5398 GB, free: 96.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006537/0.7183, allocations: 289.1 kB / 0.54 GB, free: 96.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006027/0.7243, allocations: 3.703 MB / 0.5437 GB, free: 94.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/0.7243, allocations: 21.56 kB / 0.5437 GB, free: 94.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/0.7244, allocations: 7.094 kB / 0.5437 GB, free: 94.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/0.7244, allocations: 15.67 kB / 0.5437 GB, free: 94.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/0.7361, allocations: 8.005 MB / 0.5515 GB, free: 91.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.7361, allocations: 3.688 kB / 0.5515 GB, free: 91.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/0.7376, allocations: 382.8 kB / 0.5519 GB, free: 91.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002837/0.7404, allocations: 0.9305 MB / 0.5528 GB, free: 91.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001629/0.7406, allocations: 52.2 kB / 0.5529 GB, free: 91.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00871/0.7493, allocations: 10.69 MB / 0.5633 GB, free: 82.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.7493, allocations: 7.938 kB / 0.5633 GB, free: 82.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006971/0.7563, allocations: 5.508 MB / 0.5687 GB, free: 76.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001468/0.7577, allocations: 0.5782 MB / 0.5692 GB, free: 76.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003701/0.7581, allocations: 51.98 kB / 0.5693 GB, free: 76.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/0.7594, allocations: 122.6 kB / 0.5694 GB, free: 76.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003658/0.7597, allocations: 185.7 kB / 0.5696 GB, free: 76.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/0.7599, allocations: 63.92 kB / 0.5696 GB, free: 76.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001969/0.7618, allocations: 1.746 MB / 0.5713 GB, free: 74.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7618, allocations: 0 / 0.5713 GB, free: 74.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002278/0.7641, allocations: 0.795 MB / 0.5721 GB, free: 73.54 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.0004498/0.7646, allocations: 236.8 kB / 0.5724 GB, free: 73.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004778/0.7693, allocations: 3.617 MB / 0.5759 GB, free: 69.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.7693, allocations: 0 / 0.5759 GB, free: 69.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003038/0.7724, allocations: 2.311 MB / 0.5781 GB, free: 67.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003327/0.7757, allocations: 0.7996 MB / 0.5789 GB, free: 66.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/0.7864, allocations: 7.933 MB / 0.5867 GB, free: 58.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001739/0.7882, allocations: 2.735 MB / 0.5893 GB, free: 55.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008826/0.789, allocations: 191.4 kB / 0.5895 GB, free: 55.6 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.789, allocations: 0 / 0.5895 GB, free: 55.6 MB / 446.1 MB Notification: Performance of Templates: time 0.1449/0.934, allocations: 143.1 MB / 0.7293 GB, free: 8.457 MB / 0.5294 GB " [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/jenkins1/ws/OpenModelicaLibraryTestingWork/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/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: 17.89894783310592]