Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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.001432/0.001432, allocations: 107.6 kB / 21.18 MB, free: 0.5781 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.001597/0.001597, allocations: 213.3 kB / 24.48 MB, free: 3.867 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 51.92 kB / 347.7 MB, free: 9.367 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2818, allocations: 49.16 MB / 396.9 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01354/0.2954, allocations: 11.21 MB / 408.1 MB, free: 1.984 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009814/0.3052, allocations: 4.041 MB / 412.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003034/0.3082, allocations: 86.88 kB / 412.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003654/0.3119, allocations: 0.9639 MB / 413.2 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005474/0.3174, allocations: 1.248 MB / 414.4 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.3194, allocations: 0.5209 MB / 414.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007124/0.3265, allocations: 4.671 MB / 419.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004983/0.3315, allocations: 1.945 MB / 421.6 MB, free: 8.988 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005859/0.3373, allocations: 2.193 MB / 423.8 MB, free: 7.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005985/0.3433, allocations: 2.53 MB / 426.3 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002584/0.3459, allocations: 0.5547 MB / 426.8 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004112/0.35, allocations: 0.6366 MB / 427.5 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002922/0.3529, allocations: 1.539 MB / 429 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006322/0.3593, allocations: 2.007 MB / 431 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01266/0.3719, allocations: 7.485 MB / 438.5 MB, free: 9.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3719, allocations: 4 kB / 438.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3719, allocations: 0 / 438.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002675/0.3722, allocations: 0 / 438.5 MB, free: 9.375 MB / 350.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.01328/0.3855, allocations: 4.736 MB / 443.2 MB, free: 4.586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.3855, allocations: 11.98 kB / 443.3 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002178/0.3877, allocations: 0.5175 MB / 443.8 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005874/0.3936, allocations: 2.353 MB / 446.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003043/0.3939, allocations: 271 kB / 446.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001089/0.395, allocations: 355.9 kB / 446.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01089/0.4058, allocations: 5.276 MB / 452 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-05/0.4059, allocations: 3.953 kB / 452 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004045/0.4063, allocations: 148 kB / 452.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002014/0.4065, allocations: 183 kB / 452.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008188/0.4147, allocations: 4.287 MB / 456.6 MB, free: 7.023 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03014/0.4449, allocations: 12.86 MB / 469.5 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00521/0.4501, allocations: 2.705 MB / 472.2 MB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003827/0.4539, allocations: 1.87 MB / 474.1 MB, free: 5.301 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003197/0.4542, allocations: 53.97 kB / 474.1 MB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.737e-05/0.4543, allocations: 60.56 kB / 474.2 MB, free: 5.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 4.017e-06/0.4543, allocations: 0 / 474.2 MB, free: 5.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.02274/0.477, allocations: 9.641 MB / 483.8 MB, free: 11.53 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/0.4771, allocations: 73.41 kB / 483.9 MB, free: 11.45 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004406/0.4815, allocations: 2.19 MB / 486.1 MB, free: 9.219 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003184/0.4818, allocations: 61.7 kB / 486.1 MB, free: 9.152 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00152/0.4833, allocations: 1.664 MB / 487.8 MB, free: 7.473 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000911/0.4843, allocations: 0.7669 MB / 488.6 MB, free: 6.699 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000883/0.4851, allocations: 420.4 kB / 489 MB, free: 6.281 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.4853, allocations: 301.1 kB / 489.3 MB, free: 5.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002381/0.4877, allocations: 1.308 MB / 490.6 MB, free: 4.672 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002784/0.4904, allocations: 1.786 MB / 492.4 MB, free: 2.699 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00535/0.4958, allocations: 3.219 MB / 495.6 MB, free: 15.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.947e-05/0.4958, allocations: 4 kB / 495.6 MB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00829/0.5041, allocations: 4.045 MB / 499.6 MB, free: 11.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.5041, allocations: 8 kB / 499.6 MB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.041e-05/0.5042, allocations: 16 kB / 499.7 MB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002977/0.5071, allocations: 0.8791 MB / 0.4888 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/0.5094, allocations: 0.5343 MB / 0.4893 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01258/0.522, allocations: 8.983 MB / 0.4981 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/0.5243, allocations: 115.9 kB / 0.4982 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003783/0.5247, allocations: 91.98 kB / 0.4983 GB, free: 288 kB / 414.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.002715/0.5274, allocations: 1.208 MB / 0.4995 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008277/0.5283, allocations: 258.4 kB / 0.4997 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00766/0.5359, allocations: 3.685 MB / 0.5033 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/0.536, allocations: 20 kB / 0.5033 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.328e-05/0.536, allocations: 12.03 kB / 0.5034 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.878e-05/0.536, allocations: 15.94 kB / 0.5034 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0161/0.5521, allocations: 7.101 MB / 0.5103 GB, free: 3.844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/0.5521, allocations: 4 kB / 0.5103 GB, free: 3.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001757/0.5539, allocations: 387.8 kB / 0.5107 GB, free: 3.461 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003301/0.5572, allocations: 0.9213 MB / 0.5116 GB, free: 2.523 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002376/0.5574, allocations: 55.97 kB / 0.5116 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01358/0.571, allocations: 10.48 MB / 0.5219 GB, free: 7.578 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.571, allocations: 0 / 0.5219 GB, free: 7.578 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01123/0.5822, allocations: 5.473 MB / 0.5272 GB, free: 2.035 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002065/0.5843, allocations: 0.5412 MB / 0.5277 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008234/0.5851, allocations: 51.92 kB / 0.5278 GB, free: 1.441 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002144/0.5873, allocations: 119.9 kB / 0.5279 GB, free: 1.324 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000575/0.5878, allocations: 185.7 kB / 0.5281 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002078/0.5881, allocations: 63.98 kB / 0.5281 GB, free: 1.078 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003464/0.5915, allocations: 1.493 MB / 0.5296 GB, free: 15.57 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5915, allocations: 4 kB / 0.5296 GB, free: 15.56 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003528/0.595, allocations: 0.7929 MB / 0.5304 GB, free: 14.77 MB / 462.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 {(2,12,100.0%), (1,1,100.0%), (3,25,88.9%), (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.0007124/0.5958, allocations: 239.4 kB / 0.5306 GB, free: 14.53 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007312/0.6031, allocations: 3.624 MB / 0.5341 GB, free: 10.86 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.6031, allocations: 320 / 0.5341 GB, free: 10.86 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004516/0.6076, allocations: 2.31 MB / 0.5364 GB, free: 8.488 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003941/0.6115, allocations: 0.6273 MB / 0.537 GB, free: 7.855 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01661/0.6281, allocations: 7.826 MB / 0.5447 GB, free: 15.96 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003784/0.6319, allocations: 2.226 MB / 0.5468 GB, free: 13.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002527/0.6345, allocations: 0.6412 MB / 0.5475 GB, free: 13.05 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008186/0.6353, allocations: 163.4 kB / 0.5476 GB, free: 12.89 MB / 478.1 MB Notification: Performance of SimCode: time 1.293e-06/0.6353, allocations: 0 / 0.5476 GB, free: 12.89 MB / 478.1 MB Notification: Performance of Templates: time 0.2477/0.883, allocations: 44.83 MB / 0.5914 GB, free: 130.8 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Transformer/AIMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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.898015532642603]