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.002573/0.002573, allocations: 99.53 kB / 21.73 MB, free: 2.691 MB / 18.57 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.003339/0.003339, allocations: 171.1 kB / 25.03 MB, free: 8.422 MB / 18.57 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.396/1.396, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 250.4 MB, free: 7.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.489e-05/2.616e-05, allocations: 2.312 kB / 250.4 MB, free: 7.688 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01785/0.01787, allocations: 12.59 MB / 263 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009755/0.02763, allocations: 4.199 MB / 267.2 MB, free: 6.82 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/0.0298, allocations: 87.38 kB / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003013/0.03281, allocations: 0.9663 MB / 268.2 MB, free: 5.762 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004103/0.03691, allocations: 1.288 MB / 269.5 MB, free: 4.465 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.03829, allocations: 0.5265 MB / 270 MB, free: 3.938 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00732/0.04561, allocations: 4.849 MB / 274.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003532/0.04914, allocations: 1.967 MB / 276.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006949/0.05609, allocations: 3.202 MB / 280.1 MB, free: 9.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005022/0.06111, allocations: 2.483 MB / 282.5 MB, free: 7.352 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001219/0.06233, allocations: 0.5547 MB / 283.1 MB, free: 6.797 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/0.06408, allocations: 0.6442 MB / 283.7 MB, free: 6.152 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002167/0.06625, allocations: 1.605 MB / 285.3 MB, free: 4.543 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003439/0.06969, allocations: 1.742 MB / 287.1 MB, free: 2.797 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01073/0.08042, allocations: 7.58 MB / 294.7 MB, free: 11.2 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.08043, allocations: 0 / 294.7 MB, free: 11.2 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.08043, allocations: 0 / 294.7 MB, free: 11.2 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002366/0.08067, allocations: 0 / 294.7 MB, free: 11.2 MB / 282.7 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.01401/0.09467, allocations: 5.322 MB / 300 MB, free: 5.812 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.09472, allocations: 11.98 kB / 300 MB, free: 5.801 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002273/0.09699, allocations: 0.8143 MB / 300.8 MB, free: 4.984 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005682/0.1027, allocations: 2.226 MB / 303 MB, free: 2.719 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002812/0.103, allocations: 259.4 kB / 303.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000795/0.1038, allocations: 356.3 kB / 303.6 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01126/0.115, allocations: 5.04 MB / 308.7 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-05/0.1151, allocations: 11.89 kB / 308.7 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003931/0.1155, allocations: 152 kB / 308.8 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002276/0.1157, allocations: 179.1 kB / 309 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007838/0.1236, allocations: 3.474 MB / 312.5 MB, free: 9.117 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0367/0.1603, allocations: 18.07 MB / 330.6 MB, free: 6.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004418/0.1647, allocations: 2.245 MB / 332.8 MB, free: 4.055 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003241/0.1679, allocations: 1.509 MB / 334.3 MB, free: 2.543 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000306/0.1682, allocations: 69.95 kB / 334.4 MB, free: 2.477 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.878e-05/0.1683, allocations: 59.39 kB / 334.4 MB, free: 2.406 MB / 314.7 MB Notification: Performance of pre-optimization done (n=198): time 4.528e-06/0.1683, allocations: 0 / 334.4 MB, free: 2.406 MB / 314.7 MB Notification: Performance of matching and sorting (n=218): time 0.01892/0.1872, allocations: 7.191 MB / 341.6 MB, free: 11.19 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/0.1873, allocations: 81.34 kB / 341.7 MB, free: 11.1 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004713/0.192, allocations: 2.579 MB / 344.3 MB, free: 8.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000389/0.1924, allocations: 61.7 kB / 344.4 MB, free: 8.414 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00194/0.1943, allocations: 1.868 MB / 346.2 MB, free: 6.531 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001166/0.1955, allocations: 0.8372 MB / 347.1 MB, free: 5.688 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009595/0.1965, allocations: 0.5103 MB / 347.6 MB, free: 5.168 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002435/0.1967, allocations: 476.8 kB / 348 MB, free: 4.699 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00186/0.1986, allocations: 0.8672 MB / 348.9 MB, free: 3.828 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002824/0.2014, allocations: 1.621 MB / 350.5 MB, free: 1.949 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1247/0.3261, allocations: 2.747 MB / 353.3 MB, free: 94.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.551e-05/0.3261, allocations: 6.906 kB / 353.3 MB, free: 94.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00598/0.3321, allocations: 3.184 MB / 356.5 MB, free: 94.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.3321, allocations: 10.12 kB / 356.5 MB, free: 94.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.499e-05/0.3321, allocations: 13.12 kB / 356.5 MB, free: 94.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002875/0.335, allocations: 0.7168 MB / 357.2 MB, free: 94.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/0.337, allocations: 0.5316 MB / 357.7 MB, free: 94.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007874/0.3449, allocations: 9.075 MB / 366.8 MB, free: 88.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002286/0.3472, allocations: 119.1 kB / 366.9 MB, free: 88.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002607/0.3475, allocations: 86.38 kB / 367 MB, free: 88.38 MB / 330.7 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.001752/0.3492, allocations: 1.009 MB / 368 MB, free: 87.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008754/0.3501, allocations: 346.5 kB / 368.4 MB, free: 87.85 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004771/0.3549, allocations: 2.73 MB / 371.1 MB, free: 86.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.3549, allocations: 22.86 kB / 371.1 MB, free: 86.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.3549, allocations: 7.875 kB / 371.1 MB, free: 86.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.598e-05/0.3549, allocations: 7.969 kB / 371.1 MB, free: 86.67 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/0.3679, allocations: 6.977 MB / 378.1 MB, free: 79.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.3679, allocations: 4 kB / 378.1 MB, free: 79.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/0.3694, allocations: 387.8 kB / 378.5 MB, free: 79.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002968/0.3723, allocations: 0.7653 MB / 379.3 MB, free: 78.67 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002269/0.3726, allocations: 51.98 kB / 379.3 MB, free: 78.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00771/0.3803, allocations: 10.71 MB / 390 MB, free: 67.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.3803, allocations: 11.59 kB / 390 MB, free: 67.54 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005935/0.3862, allocations: 3.984 MB / 394 MB, free: 63.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001622/0.3878, allocations: 0.4943 MB / 394.5 MB, free: 63.01 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004086/0.3883, allocations: 51.98 kB / 394.6 MB, free: 62.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.3895, allocations: 115.9 kB / 394.7 MB, free: 62.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004448/0.39, allocations: 193.5 kB / 394.9 MB, free: 62.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/0.3901, allocations: 59.98 kB / 394.9 MB, free: 62.6 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001859/0.3919, allocations: 1.516 MB / 396.4 MB, free: 61.06 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3919, allocations: 0 / 396.4 MB, free: 61.06 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002261/0.3942, allocations: 0.7893 MB / 397.2 MB, free: 60.28 MB / 330.7 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.0005988/0.3948, allocations: 240.7 kB / 397.5 MB, free: 60.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004558/0.3994, allocations: 3.166 MB / 400.6 MB, free: 56.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.3994, allocations: 6 kB / 400.6 MB, free: 56.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002923/0.4023, allocations: 2.21 MB / 402.8 MB, free: 54.54 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002764/0.4051, allocations: 0.6497 MB / 403.5 MB, free: 53.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009334/0.4144, allocations: 7.006 MB / 410.5 MB, free: 46.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/0.416, allocations: 2.062 MB / 412.6 MB, free: 44.72 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001566/0.4176, allocations: 0.5045 MB / 413.1 MB, free: 44.21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004889/0.4181, allocations: 164.5 kB / 413.2 MB, free: 44.05 MB / 330.7 MB Notification: Performance of SimCode: time 1.563e-06/0.4181, allocations: 7.609 kB / 413.2 MB, free: 44.05 MB / 330.7 MB Notification: Performance of Templates: time 0.05678/0.4748, allocations: 40.31 MB / 453.5 MB, free: 3.754 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) [Timeout 240] 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.74589451495558]