Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002034/0.002034, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.546/1.546, allocations: 230.6 MB / 254.1 MB, free: 15.11 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002503/0.002503, allocations: 51.92 kB / 373.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1149, allocations: 53.33 MB / 426.8 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.2041/0.319, allocations: 12.96 MB / 439.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007627/0.3266, allocations: 4.281 MB / 444.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002632/0.3292, allocations: 102.3 kB / 444.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00292/0.3322, allocations: 1.029 MB / 445.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004119/0.3363, allocations: 1.229 MB / 446.4 MB, free: 144 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001707/0.338, allocations: 0.5207 MB / 447 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007917/0.3459, allocations: 4.652 MB / 451.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00442/0.3503, allocations: 2.702 MB / 454.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006282/0.3566, allocations: 2.175 MB / 456.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007187/0.3638, allocations: 2.626 MB / 459.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002158/0.366, allocations: 0.5518 MB / 459.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003015/0.369, allocations: 0.6589 MB / 460.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002217/0.3712, allocations: 1.541 MB / 461.9 MB, free: 9.137 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005591/0.3768, allocations: 2.482 MB / 464.4 MB, free: 7.379 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01081/0.3876, allocations: 7.468 MB / 471.8 MB, free: 1.848 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.3876, allocations: 0 / 471.8 MB, free: 1.848 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3876, allocations: 0 / 471.8 MB, free: 1.848 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002375/0.3878, allocations: 3.938 kB / 471.8 MB, free: 1.844 MB / 366.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.01225/0.4001, allocations: 4.82 MB / 476.7 MB, free: 14.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.4001, allocations: 13.62 kB / 476.7 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002126/0.4023, allocations: 0.553 MB / 477.2 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005137/0.4074, allocations: 2.605 MB / 479.8 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002374/0.4076, allocations: 263 kB / 480.1 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006085/0.4082, allocations: 351.9 kB / 480.4 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01037/0.4186, allocations: 5.027 MB / 485.4 MB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.331e-05/0.4187, allocations: 11.95 kB / 485.5 MB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000398/0.4191, allocations: 144 kB / 485.6 MB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002102/0.4193, allocations: 191 kB / 485.8 MB, free: 5.363 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009402/0.4287, allocations: 4.291 MB / 490.1 MB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0311/0.4598, allocations: 14.77 MB / 0.493 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005076/0.4649, allocations: 4.055 MB / 0.497 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003466/0.4684, allocations: 1.866 MB / 0.4988 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003134/0.4687, allocations: 131.1 kB / 0.4989 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.188e-05/0.4687, allocations: 56.56 kB / 0.499 GB, free: 11.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.406e-06/0.4687, allocations: 3.938 kB / 0.499 GB, free: 11.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02292/0.4917, allocations: 9.997 MB / 0.5087 GB, free: 1.477 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.4917, allocations: 73.41 kB / 0.5088 GB, free: 1.391 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005168/0.4969, allocations: 2.526 MB / 0.5113 GB, free: 14.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005664/0.4975, allocations: 61.7 kB / 0.5113 GB, free: 14.78 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00173/0.4992, allocations: 1.662 MB / 0.513 GB, free: 13.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001129/0.5003, allocations: 0.7708 MB / 0.5137 GB, free: 12.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008638/0.5012, allocations: 412.5 kB / 0.5141 GB, free: 11.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.5013, allocations: 305.1 kB / 0.5144 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00267/0.504, allocations: 1.293 MB / 0.5157 GB, free: 10.31 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003099/0.5071, allocations: 1.786 MB / 0.5174 GB, free: 8.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005413/0.5125, allocations: 3.204 MB / 0.5205 GB, free: 4.953 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.507e-05/0.5125, allocations: 4 kB / 0.5205 GB, free: 4.949 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008515/0.5211, allocations: 4.076 MB / 0.5245 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/0.5211, allocations: 12 kB / 0.5245 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.241e-05/0.5211, allocations: 12 kB / 0.5245 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003114/0.5242, allocations: 0.876 MB / 0.5254 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002479/0.5267, allocations: 0.5343 MB / 0.5259 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01221/0.5389, allocations: 9.473 MB / 0.5352 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002378/0.5413, allocations: 111.9 kB / 0.5353 GB, free: 5.398 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000224/0.5415, allocations: 91.98 kB / 0.5354 GB, free: 5.309 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.002241/0.5438, allocations: 1.216 MB / 0.5366 GB, free: 4.082 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006477/0.5444, allocations: 294.2 kB / 0.5368 GB, free: 3.793 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00728/0.5517, allocations: 3.699 MB / 0.5404 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.418e-05/0.5517, allocations: 20 kB / 0.5405 GB, free: 48 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/0.5517, allocations: 11.94 kB / 0.5405 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.399e-05/0.5518, allocations: 11.95 kB / 0.5405 GB, free: 24 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0161/0.5679, allocations: 8.014 MB / 0.5483 GB, free: 7.887 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.5679, allocations: 4 kB / 0.5483 GB, free: 7.883 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001905/0.5698, allocations: 379.8 kB / 0.5487 GB, free: 7.512 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003461/0.5732, allocations: 0.9327 MB / 0.5496 GB, free: 6.566 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002949/0.5735, allocations: 51.98 kB / 0.5496 GB, free: 6.516 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01388/0.5874, allocations: 11.11 MB / 0.5605 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.5874, allocations: 4 kB / 0.5605 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/0.5978, allocations: 5.506 MB / 0.5659 GB, free: 5.262 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002087/0.5998, allocations: 0.6436 MB / 0.5665 GB, free: 4.598 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005549/0.6004, allocations: 51.98 kB / 0.5666 GB, free: 4.547 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/0.6021, allocations: 111.9 kB / 0.5667 GB, free: 4.438 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005374/0.6026, allocations: 185.7 kB / 0.5668 GB, free: 4.254 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/0.6028, allocations: 59.98 kB / 0.5669 GB, free: 4.195 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003114/0.6059, allocations: 1.739 MB / 0.5686 GB, free: 2.445 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6059, allocations: 0 / 0.5686 GB, free: 2.445 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003271/0.6092, allocations: 0.8007 MB / 0.5694 GB, free: 1.645 MB / 478.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.0007083/0.6099, allocations: 241.8 kB / 0.5696 GB, free: 1.41 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007423/0.6173, allocations: 3.759 MB / 0.5733 GB, free: 13.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/0.6173, allocations: 0 / 0.5733 GB, free: 13.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00492/0.6222, allocations: 2.394 MB / 0.5756 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004239/0.6265, allocations: 0.7876 MB / 0.5764 GB, free: 10.33 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01489/0.6414, allocations: 7.884 MB / 0.5841 GB, free: 2.387 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003119/0.6445, allocations: 2.781 MB / 0.5868 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0023/0.6468, allocations: 0.6829 MB / 0.5875 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007025/0.6475, allocations: 179.4 kB / 0.5876 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of SimCode: time 1.332e-06/0.6475, allocations: 0 / 0.5876 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of Templates: time 0.2951/0.9426, allocations: 45.22 MB / 0.6318 GB, free: 163.6 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 8.095255300402641]