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.001525/0.001525, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001648/0.001648, allocations: 213 kB / 23.73 MB, free: 4.164 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.462/1.462, allocations: 230.5 MB / 257.4 MB, free: 7.816 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.001979/0.001979, allocations: 63.91 kB / 378.3 MB, free: 2.375 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2595, allocations: 53.41 MB / 431.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01521/0.2747, allocations: 11.36 MB / 443 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009184/0.2839, allocations: 4.058 MB / 447.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001998/0.2859, allocations: 103.3 kB / 447.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002475/0.2884, allocations: 0.9588 MB / 448.2 MB, free: 6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003779/0.2922, allocations: 1.266 MB / 449.4 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.2935, allocations: 0.5305 MB / 450 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005867/0.2994, allocations: 4.684 MB / 454.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002833/0.3022, allocations: 2.003 MB / 456.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00608/0.3083, allocations: 2.203 MB / 458.8 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007065/0.3154, allocations: 2.549 MB / 461.4 MB, free: 8.664 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001967/0.3173, allocations: 0.5547 MB / 462 MB, free: 8.109 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002705/0.32, allocations: 0.6522 MB / 462.6 MB, free: 7.457 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0025/0.3225, allocations: 1.539 MB / 464.1 MB, free: 5.914 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004759/0.3273, allocations: 2.023 MB / 466.2 MB, free: 3.883 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01263/0.3399, allocations: 7.525 MB / 473.7 MB, free: 12.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.3399, allocations: 8 kB / 473.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3399, allocations: 0 / 473.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002282/0.3402, allocations: 0 / 473.7 MB, free: 12.32 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.01777/0.3579, allocations: 4.759 MB / 478.5 MB, free: 7.508 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/0.358, allocations: 15.98 kB / 478.5 MB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00286/0.3609, allocations: 0.5487 MB / 479 MB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008443/0.3693, allocations: 2.54 MB / 481.6 MB, free: 4.332 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004224/0.3697, allocations: 263.4 kB / 481.8 MB, free: 4.074 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001483/0.3712, allocations: 371.8 kB / 482.2 MB, free: 3.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0168/0.388, allocations: 5.307 MB / 487.5 MB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001858/0.3882, allocations: 7.938 kB / 487.5 MB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001041/0.3892, allocations: 147.9 kB / 487.6 MB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003484/0.3896, allocations: 191.1 kB / 487.8 MB, free: 13.94 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01368/0.4033, allocations: 4.31 MB / 492.1 MB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04342/0.4467, allocations: 12.9 MB / 0.4932 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007536/0.4542, allocations: 2.692 MB / 0.4958 GB, free: 9.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005233/0.4594, allocations: 1.866 MB / 0.4976 GB, free: 7.883 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004359/0.4599, allocations: 57.95 kB / 0.4977 GB, free: 7.824 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001004/0.46, allocations: 56.5 kB / 0.4978 GB, free: 7.762 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 8.546e-06/0.46, allocations: 4 kB / 0.4978 GB, free: 7.758 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.0342/0.4942, allocations: 9.596 MB / 0.5071 GB, free: 14.15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.54e-05/0.4943, allocations: 73.41 kB / 0.5072 GB, free: 14.06 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006255/0.5005, allocations: 2.199 MB / 0.5094 GB, free: 11.83 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004666/0.501, allocations: 61.7 kB / 0.5094 GB, free: 11.76 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002088/0.5031, allocations: 1.68 MB / 0.511 GB, free: 10.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001326/0.5044, allocations: 0.7707 MB / 0.5118 GB, free: 9.289 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00142/0.5058, allocations: 420.4 kB / 0.5122 GB, free: 8.871 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.506, allocations: 305.1 kB / 0.5125 GB, free: 8.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003631/0.5097, allocations: 1.301 MB / 0.5138 GB, free: 7.266 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004176/0.5138, allocations: 1.774 MB / 0.5155 GB, free: 5.305 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008034/0.5219, allocations: 3.215 MB / 0.5186 GB, free: 1.906 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-05/0.5219, allocations: 7.938 kB / 0.5186 GB, free: 1.898 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01139/0.5333, allocations: 4.034 MB / 0.5226 GB, free: 13.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.631e-05/0.5333, allocations: 12 kB / 0.5226 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.583e-05/0.5334, allocations: 15.98 kB / 0.5226 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002899/0.5363, allocations: 0.876 MB / 0.5235 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002179/0.5384, allocations: 0.5304 MB / 0.524 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01168/0.5501, allocations: 9.01 MB / 0.5328 GB, free: 3.078 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002157/0.5523, allocations: 119.9 kB / 0.5329 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004046/0.5527, allocations: 91.94 kB / 0.533 GB, free: 2.871 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.002449/0.5551, allocations: 1.214 MB / 0.5342 GB, free: 1.648 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007252/0.5559, allocations: 262.4 kB / 0.5344 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2203/0.7762, allocations: 3.676 MB / 0.538 GB, free: 99.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.161e-05/0.7762, allocations: 28.53 kB / 0.538 GB, free: 99.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.537e-05/0.7762, allocations: 7.859 kB / 0.538 GB, free: 99.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.129e-05/0.7762, allocations: 9.938 kB / 0.5381 GB, free: 99.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/0.7889, allocations: 7.099 MB / 0.545 GB, free: 97.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.7889, allocations: 4.625 kB / 0.545 GB, free: 97.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/0.7904, allocations: 387.6 kB / 0.5454 GB, free: 97.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002624/0.793, allocations: 0.9264 MB / 0.5463 GB, free: 96.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001413/0.7931, allocations: 57.16 kB / 0.5463 GB, free: 96.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008439/0.8016, allocations: 10.49 MB / 0.5566 GB, free: 88.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.8016, allocations: 6.438 kB / 0.5566 GB, free: 88.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007006/0.8086, allocations: 5.482 MB / 0.5619 GB, free: 83.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00179/0.8104, allocations: 0.5399 MB / 0.5624 GB, free: 82.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003758/0.8108, allocations: 51.98 kB / 0.5625 GB, free: 82.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/0.8121, allocations: 115.9 kB / 0.5626 GB, free: 82.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004529/0.8125, allocations: 193.6 kB / 0.5628 GB, free: 82.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001285/0.8126, allocations: 55.98 kB / 0.5628 GB, free: 82.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00197/0.8146, allocations: 1.497 MB / 0.5643 GB, free: 80.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8146, allocations: 0 / 0.5643 GB, free: 80.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002343/0.817, allocations: 0.7922 MB / 0.5651 GB, free: 80.17 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.00052/0.8175, allocations: 243.2 kB / 0.5653 GB, free: 79.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004818/0.8223, allocations: 3.622 MB / 0.5689 GB, free: 76.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.8223, allocations: 0 / 0.5689 GB, free: 76.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002954/0.8253, allocations: 2.319 MB / 0.5711 GB, free: 73.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002662/0.8279, allocations: 0.6207 MB / 0.5717 GB, free: 73.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.8384, allocations: 7.871 MB / 0.5794 GB, free: 65.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001914/0.8404, allocations: 2.247 MB / 0.5816 GB, free: 63.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001806/0.8422, allocations: 0.6492 MB / 0.5822 GB, free: 62.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005036/0.8427, allocations: 163.4 kB / 0.5824 GB, free: 62.35 MB / 446.1 MB Notification: Performance of SimCode: time 8.22e-07/0.8427, allocations: 0 / 0.5824 GB, free: 62.35 MB / 446.1 MB Notification: Performance of Templates: time 0.06095/0.9036, allocations: 45 MB / 0.6263 GB, free: 17.88 MB / 446.1 MB " [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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/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: 7.803718205541372]