Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.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.001333/0.001333, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001483/0.001483, allocations: 214.5 kB / 24.48 MB, free: 3.836 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.488/1.488, allocations: 230.5 MB / 258.1 MB, free: 7.793 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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 63.89 kB / 379 MB, free: 2.406 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2655, allocations: 53.41 MB / 432.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01494/0.2805, allocations: 11.34 MB / 443.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00873/0.2892, allocations: 4.054 MB / 447.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002344/0.2915, allocations: 95.38 kB / 447.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002858/0.2944, allocations: 0.9704 MB / 448.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004256/0.2987, allocations: 1.258 MB / 450.1 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.3001, allocations: 0.5383 MB / 450.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006305/0.3064, allocations: 4.684 MB / 455.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003055/0.3095, allocations: 2.007 MB / 457.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005288/0.3148, allocations: 2.201 MB / 459.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005165/0.3199, allocations: 2.553 MB / 462.1 MB, free: 8.695 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001423/0.3213, allocations: 0.5508 MB / 462.7 MB, free: 8.145 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001962/0.3233, allocations: 0.6483 MB / 463.3 MB, free: 7.496 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001752/0.3251, allocations: 1.547 MB / 464.9 MB, free: 5.945 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003613/0.3287, allocations: 2.019 MB / 466.9 MB, free: 3.918 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0096/0.3383, allocations: 7.529 MB / 474.4 MB, free: 12.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.3383, allocations: 0 / 474.4 MB, free: 12.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.3383, allocations: 0 / 474.4 MB, free: 12.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002313/0.3385, allocations: 4 kB / 474.4 MB, free: 12.36 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.01235/0.3509, allocations: 4.763 MB / 479.2 MB, free: 7.539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.3509, allocations: 19.98 kB / 479.2 MB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001791/0.3527, allocations: 0.5448 MB / 479.7 MB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005564/0.3583, allocations: 2.54 MB / 482.3 MB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002725/0.3585, allocations: 267.4 kB / 482.5 MB, free: 4.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008022/0.3593, allocations: 363.9 kB / 482.9 MB, free: 3.746 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01082/0.3701, allocations: 5.315 MB / 488.2 MB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.332e-05/0.3702, allocations: 4 kB / 488.2 MB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003955/0.3706, allocations: 148 kB / 488.4 MB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002272/0.3709, allocations: 191.1 kB / 488.5 MB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01068/0.3815, allocations: 4.306 MB / 492.9 MB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03252/0.4141, allocations: 12.9 MB / 0.4939 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004202/0.4183, allocations: 2.688 MB / 0.4965 GB, free: 9.789 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003285/0.4216, allocations: 1.874 MB / 0.4983 GB, free: 7.914 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002448/0.4218, allocations: 61.94 kB / 0.4984 GB, free: 7.852 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.298e-05/0.4218, allocations: 56.56 kB / 0.4985 GB, free: 7.789 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.588e-06/0.4219, allocations: 0 / 0.4985 GB, free: 7.789 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02002/0.4419, allocations: 9.585 MB / 0.5078 GB, free: 14.19 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/0.4419, allocations: 77.41 kB / 0.5079 GB, free: 14.1 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003379/0.4453, allocations: 2.195 MB / 0.51 GB, free: 11.87 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002411/0.4456, allocations: 61.7 kB / 0.5101 GB, free: 11.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001332/0.4469, allocations: 1.684 MB / 0.5117 GB, free: 10.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007459/0.4476, allocations: 0.7747 MB / 0.5125 GB, free: 9.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006831/0.4483, allocations: 420.4 kB / 0.5129 GB, free: 8.902 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.4484, allocations: 305.1 kB / 0.5132 GB, free: 8.602 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002088/0.4505, allocations: 1.301 MB / 0.5145 GB, free: 7.297 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002427/0.453, allocations: 1.774 MB / 0.5162 GB, free: 5.336 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004612/0.4576, allocations: 3.212 MB / 0.5193 GB, free: 1.941 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/0.4576, allocations: 7.938 kB / 0.5193 GB, free: 1.934 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007052/0.4646, allocations: 4.038 MB / 0.5233 GB, free: 13.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.4647, allocations: 8 kB / 0.5233 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-05/0.4647, allocations: 23.97 kB / 0.5233 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002687/0.4674, allocations: 0.8755 MB / 0.5242 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/0.4695, allocations: 0.5188 MB / 0.5247 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01082/0.4803, allocations: 9.022 MB / 0.5335 GB, free: 3.105 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002591/0.4829, allocations: 115.9 kB / 0.5336 GB, free: 2.992 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003607/0.4833, allocations: 88 kB / 0.5337 GB, free: 2.906 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.003285/0.4866, allocations: 1.215 MB / 0.5349 GB, free: 1.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007348/0.4873, allocations: 262.4 kB / 0.5351 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2264/0.7137, allocations: 3.671 MB / 0.5387 GB, free: 99.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.857e-05/0.7137, allocations: 24.06 kB / 0.5387 GB, free: 99.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.935e-05/0.7138, allocations: 7.156 kB / 0.5387 GB, free: 99.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.657e-05/0.7138, allocations: 12.38 kB / 0.5387 GB, free: 99.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01305/0.7268, allocations: 7.11 MB / 0.5457 GB, free: 97.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.7268, allocations: 3.906 kB / 0.5457 GB, free: 97.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001468/0.7283, allocations: 386.2 kB / 0.5461 GB, free: 97.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002734/0.7311, allocations: 0.9295 MB / 0.547 GB, free: 96.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002298/0.7313, allocations: 58.94 kB / 0.547 GB, free: 96.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008852/0.7401, allocations: 10.48 MB / 0.5573 GB, free: 88.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.7401, allocations: 7.938 kB / 0.5573 GB, free: 88.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007345/0.7475, allocations: 5.484 MB / 0.5626 GB, free: 83.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001767/0.7492, allocations: 0.5393 MB / 0.5631 GB, free: 82.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005028/0.7498, allocations: 51.98 kB / 0.5632 GB, free: 82.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/0.7511, allocations: 111.9 kB / 0.5633 GB, free: 82.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003714/0.7514, allocations: 190.6 kB / 0.5635 GB, free: 82.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/0.7515, allocations: 60.08 kB / 0.5635 GB, free: 82.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001749/0.7533, allocations: 1.497 MB / 0.565 GB, free: 81.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7533, allocations: 0 / 0.565 GB, free: 81.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002161/0.7555, allocations: 0.7919 MB / 0.5658 GB, free: 80.23 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.0005244/0.756, allocations: 247.7 kB / 0.566 GB, free: 80.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00473/0.7607, allocations: 3.62 MB / 0.5695 GB, free: 76.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/0.7607, allocations: 4 kB / 0.5695 GB, free: 76.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00297/0.7637, allocations: 2.309 MB / 0.5718 GB, free: 74.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002779/0.7665, allocations: 0.6273 MB / 0.5724 GB, free: 73.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.7773, allocations: 7.878 MB / 0.5801 GB, free: 65.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001808/0.7791, allocations: 2.196 MB / 0.5823 GB, free: 63.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009424/0.78, allocations: 175.4 kB / 0.5824 GB, free: 63.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.193e-06/0.78, allocations: 0 / 0.5824 GB, free: 63.1 MB / 446.1 MB Notification: Performance of Templates: time 0.135/0.915, allocations: 141.7 MB / 0.7208 GB, free: 1.359 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 16.681846738327295]