Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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.00121/0.00121, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002334/0.003544, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001317/0.001317, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001853/0.003169, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.003/1.003, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1761/1.179, allocations: 49.5 MB / 220.7 MB, free: 1.352 MB / 218.7 MB " [Timeout remaining time 179] 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_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 222 MB, free: 52 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.85e-05, allocations: 6.312 kB / 222 MB, free: 44 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.009565/0.009584, allocations: 9.589 MB / 231.6 MB, free: 6.41 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006765/0.01635, allocations: 3.221 MB / 234.8 MB, free: 3.172 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001672/0.01802, allocations: 55.62 kB / 234.9 MB, free: 3.117 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001609/0.01963, allocations: 0.6714 MB / 235.5 MB, free: 2.441 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002162/0.02179, allocations: 0.9002 MB / 236.4 MB, free: 1.535 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008042/0.0226, allocations: 395.3 kB / 236.8 MB, free: 1.148 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003443/0.02604, allocations: 3.232 MB / 240.1 MB, free: 13.91 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01102/0.03706, allocations: 1.296 MB / 241.3 MB, free: 12.53 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0227/0.05976, allocations: 2.39 MB / 243.7 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002572/0.06233, allocations: 1.559 MB / 245.3 MB, free: 8.555 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004009/0.06634, allocations: 352 kB / 245.6 MB, free: 8.211 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.06769, allocations: 447.7 kB / 246.1 MB, free: 7.773 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004262/0.07195, allocations: 0.8221 MB / 246.9 MB, free: 6.949 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001936/0.07389, allocations: 0.9047 MB / 247.8 MB, free: 6.043 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006223/0.08011, allocations: 2.438 MB / 250.2 MB, free: 3.598 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.154e-05/0.08012, allocations: 0 / 250.2 MB, free: 3.598 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.08013, allocations: 0 / 250.2 MB, free: 3.598 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.277e-05/0.08021, allocations: 0 / 250.2 MB, free: 3.598 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.01075/0.09095, allocations: 3.508 MB / 253.8 MB, free: 48 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.09099, allocations: 8.031 kB / 253.8 MB, free: 40 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007063/0.0917, allocations: 0.4938 MB / 254.3 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/0.09307, allocations: 1.072 MB / 255.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.77e-05/0.09317, allocations: 172.9 kB / 255.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002393/0.09341, allocations: 232.4 kB / 255.7 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/0.09548, allocations: 1.799 MB / 257.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.418e-05/0.09552, allocations: 7.953 kB / 257.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/0.09566, allocations: 96 kB / 257.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-05/0.09574, allocations: 100.4 kB / 257.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009859/0.09672, allocations: 0.6862 MB / 258.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008163/0.1049, allocations: 6.232 MB / 264.6 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007866/0.1057, allocations: 0.7687 MB / 265.4 MB, free: 3.895 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000538/0.1062, allocations: 447.5 kB / 265.8 MB, free: 3.461 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/0.1063, allocations: 44.98 kB / 265.9 MB, free: 3.418 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.1064, allocations: 43.56 kB / 265.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of pre-optimization done (n=126): time 2.535e-06/0.1064, allocations: 0 / 265.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of matching and sorting (n=142): time 0.006451/0.1128, allocations: 3.534 MB / 269.5 MB, free: 15.78 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.1129, allocations: 68.72 kB / 269.5 MB, free: 15.7 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007492/0.1136, allocations: 1.08 MB / 270.6 MB, free: 14.61 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.81e-05/0.1137, allocations: 49.7 kB / 270.7 MB, free: 14.55 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004011/0.1141, allocations: 0.9102 MB / 271.6 MB, free: 13.63 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002746/0.1144, allocations: 0.4918 MB / 272.1 MB, free: 13.13 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002789/0.1146, allocations: 279.3 kB / 272.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.534e-05/0.1147, allocations: 305.1 kB / 272.6 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/0.115, allocations: 194.8 kB / 272.8 MB, free: 12.36 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004047/0.1154, allocations: 0.5367 MB / 273.4 MB, free: 11.68 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008177/0.1162, allocations: 0.9397 MB / 274.3 MB, free: 10.6 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.1162, allocations: 0 / 274.3 MB, free: 10.6 MB / 282.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.001722/0.1179, allocations: 1.151 MB / 275.4 MB, free: 9.418 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.1179, allocations: 11.41 kB / 275.5 MB, free: 9.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.118, allocations: 19.98 kB / 275.5 MB, free: 9.391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009101/0.1189, allocations: 444.2 kB / 275.9 MB, free: 8.938 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006559/0.1195, allocations: 331.5 kB / 276.2 MB, free: 8.613 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004191/0.1237, allocations: 5.72 MB / 282 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005109/0.1242, allocations: 51.98 kB / 282 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.774e-05/0.1243, allocations: 44 kB / 282.1 MB, free: 2.52 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[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 (155): * Single equations (assignments): 150 * 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 {(2,12,100.0%), (9,19,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003938/0.1247, allocations: 216.2 kB / 282.3 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/0.1249, allocations: 147.9 kB / 282.4 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.1263, allocations: 1.08 MB / 283.5 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.1263, allocations: 20 kB / 283.5 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.1263, allocations: 11.94 kB / 283.5 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.1263, allocations: 7.969 kB / 283.5 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1175/0.2438, allocations: 2.432 MB / 286 MB, free: 46.69 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.2438, allocations: 2.406 kB / 286 MB, free: 46.69 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006542/0.2444, allocations: 202.9 kB / 286.2 MB, free: 46.69 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007571/0.2452, allocations: 234.4 kB / 286.4 MB, free: 46.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001439/0.2466, allocations: 0.5264 MB / 286.9 MB, free: 46.63 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.502e-05/0.2467, allocations: 33.83 kB / 286.9 MB, free: 46.63 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005129/0.2518, allocations: 6.921 MB / 293.9 MB, free: 41.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-05/0.2518, allocations: 3.781 kB / 293.9 MB, free: 41.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002814/0.2546, allocations: 1.484 MB / 295.4 MB, free: 41.15 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002635/0.2549, allocations: 34.31 kB / 295.4 MB, free: 41.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005033/0.2554, allocations: 55.88 kB / 295.4 MB, free: 41.15 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003207/0.2557, allocations: 124.7 kB / 295.6 MB, free: 41.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.446e-05/0.2558, allocations: 31.66 kB / 295.6 MB, free: 41.15 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008014/0.2566, allocations: 0.5347 MB / 296.1 MB, free: 41.1 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2566, allocations: 0 / 296.1 MB, free: 41.1 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001764/0.2584, allocations: 0.5512 MB / 296.7 MB, free: 41.1 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 94 * 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%), (9,19,33.3%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003812/0.2587, allocations: 172.6 kB / 296.9 MB, free: 41.03 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.2607, allocations: 1.421 MB / 298.3 MB, free: 40.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.804e-05/0.2608, allocations: 28.44 kB / 298.3 MB, free: 40.59 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00157/0.2624, allocations: 1.402 MB / 299.7 MB, free: 40 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/0.2645, allocations: 4.584 MB / 304.3 MB, free: 35.3 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01565/0.2801, allocations: 4.152 MB / 308.4 MB, free: 33.55 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005865/0.2807, allocations: 0.5943 MB / 309 MB, free: 33.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0007729/0.2815, allocations: 201 kB / 309.2 MB, free: 33.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007197/0.2822, allocations: 443 kB / 309.7 MB, free: 33.31 MB / 282.7 MB Notification: Performance of SimCode: time 1.493e-06/0.2822, allocations: 0 / 309.7 MB, free: 33.31 MB / 282.7 MB Notification: Performance of Templates: time 0.03964/0.3219, allocations: 34.84 MB / 344.5 MB, free: 1.129 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_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_YD/AIMC_YD.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.790551577694714]