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.0007581/0.0007581, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009656/0.001724, allocations: 445.7 kB / 10.37 MB, free: 328 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.0006944/0.0006944, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008553/0.00155, allocations: 463.6 kB / 11.71 MB, free: 2.453 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 0.8598/0.8598, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1446/1.004, allocations: 49.48 MB / 220.5 MB, free: 1.457 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 9.52e-07/9.52e-07, allocations: 0 / 221.8 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.745e-06/8.697e-06, allocations: 6.109 kB / 221.9 MB, free: 160 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.007833/0.007842, allocations: 9.578 MB / 231.4 MB, free: 6.527 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005627/0.01347, allocations: 3.209 MB / 234.6 MB, free: 3.305 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.01448, allocations: 55.62 kB / 234.7 MB, free: 3.25 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.01567, allocations: 0.6752 MB / 235.4 MB, free: 2.57 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001919/0.01759, allocations: 0.8963 MB / 236.3 MB, free: 1.668 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007771/0.01837, allocations: 407.3 kB / 236.7 MB, free: 1.27 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002699/0.02107, allocations: 3.232 MB / 239.9 MB, free: 14.03 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001208/0.02227, allocations: 1.288 MB / 241.2 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002594/0.02487, allocations: 2.394 MB / 243.6 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00152/0.02639, allocations: 1.559 MB / 245.1 MB, free: 8.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004947/0.02688, allocations: 352 kB / 245.5 MB, free: 8.336 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005785/0.02746, allocations: 447.7 kB / 245.9 MB, free: 7.898 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005819/0.02804, allocations: 0.8377 MB / 246.8 MB, free: 7.059 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000854/0.0289, allocations: 0.8969 MB / 247.7 MB, free: 6.16 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002048/0.03094, allocations: 2.43 MB / 250.1 MB, free: 3.723 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.03095, allocations: 0 / 250.1 MB, free: 3.723 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.03095, allocations: 0 / 250.1 MB, free: 3.723 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.48e-05/0.031, allocations: 0 / 250.1 MB, free: 3.723 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.003344/0.03434, allocations: 3.516 MB / 253.6 MB, free: 168 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.03437, allocations: 8.031 kB / 253.6 MB, free: 160 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006151/0.03499, allocations: 497.7 kB / 254.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.03616, allocations: 1.072 MB / 255.2 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.064e-05/0.03626, allocations: 180.9 kB / 255.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/0.03646, allocations: 224.4 kB / 255.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.03824, allocations: 1.799 MB / 257.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.176e-05/0.03828, allocations: 11.89 kB / 257.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.03842, allocations: 92 kB / 257.5 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.836e-05/0.03849, allocations: 100.4 kB / 257.6 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009748/0.03947, allocations: 0.694 MB / 258.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008448/0.04792, allocations: 6.224 MB / 264.5 MB, free: 4.801 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008621/0.04878, allocations: 0.7687 MB / 265.2 MB, free: 4.012 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005983/0.04938, allocations: 455.5 kB / 265.7 MB, free: 3.566 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/0.04957, allocations: 40.98 kB / 265.7 MB, free: 3.527 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.01e-05/0.04962, allocations: 47.56 kB / 265.8 MB, free: 3.473 MB / 266.7 MB Notification: Performance of pre-optimization done (n=126): time 4.208e-06/0.04962, allocations: 0 / 265.8 MB, free: 3.473 MB / 266.7 MB Notification: Performance of matching and sorting (n=142): time 0.007159/0.05678, allocations: 3.495 MB / 269.3 MB, free: 15.92 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.05681, allocations: 64.72 kB / 269.3 MB, free: 15.85 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009234/0.05774, allocations: 1.084 MB / 270.4 MB, free: 14.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.194e-05/0.05781, allocations: 45.7 kB / 270.5 MB, free: 14.7 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003882/0.0582, allocations: 0.9141 MB / 271.4 MB, free: 13.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002572/0.05845, allocations: 499.6 kB / 271.9 MB, free: 13.28 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002763/0.05873, allocations: 279.3 kB / 272.1 MB, free: 13 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.048e-05/0.0588, allocations: 305.1 kB / 272.4 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.0591, allocations: 198.8 kB / 272.6 MB, free: 12.51 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007662/0.05986, allocations: 0.5289 MB / 273.2 MB, free: 11.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009439/0.06081, allocations: 0.9084 MB / 274.1 MB, free: 10.79 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/0.06082, allocations: 4 kB / 274.1 MB, free: 10.78 MB / 282.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.0019/0.06272, allocations: 1.152 MB / 275.2 MB, free: 9.602 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/0.06275, allocations: 16.06 kB / 275.2 MB, free: 9.586 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/0.06277, allocations: 8 kB / 275.2 MB, free: 9.578 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/0.06389, allocations: 448.2 kB / 275.7 MB, free: 9.121 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007642/0.06465, allocations: 323.6 kB / 276 MB, free: 8.805 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005433/0.07008, allocations: 5.722 MB / 281.7 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008594/0.07094, allocations: 55.97 kB / 281.8 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/0.07103, allocations: 48 kB / 281.8 MB, free: 2.703 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.0006627/0.07169, allocations: 208.3 kB / 282 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002706/0.07196, allocations: 151.8 kB / 282.2 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/0.07346, allocations: 1.084 MB / 283.3 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.07347, allocations: 15.98 kB / 283.3 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.07348, allocations: 8 kB / 283.3 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.07349, allocations: 3.984 kB / 283.3 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1287/0.2022, allocations: 2.436 MB / 285.7 MB, free: 46.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/0.2022, allocations: 2.219 kB / 285.7 MB, free: 46.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009436/0.2031, allocations: 203.1 kB / 285.9 MB, free: 46.8 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009865/0.2041, allocations: 238 kB / 286.2 MB, free: 46.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001748/0.2059, allocations: 0.5201 MB / 286.7 MB, free: 46.74 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-05/0.206, allocations: 33.2 kB / 286.7 MB, free: 46.74 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005662/0.2116, allocations: 6.925 MB / 293.6 MB, free: 41.69 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.2116, allocations: 2.406 kB / 293.6 MB, free: 41.69 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002728/0.2144, allocations: 1.484 MB / 295.1 MB, free: 41.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003113/0.2147, allocations: 28.5 kB / 295.1 MB, free: 41.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005935/0.2153, allocations: 57.08 kB / 295.2 MB, free: 41.27 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003157/0.2156, allocations: 125.8 kB / 295.3 MB, free: 41.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.651e-05/0.2157, allocations: 28.06 kB / 295.4 MB, free: 41.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008473/0.2165, allocations: 0.5399 MB / 295.9 MB, free: 41.22 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.2165, allocations: 0 / 295.9 MB, free: 41.22 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001642/0.2181, allocations: 0.5461 MB / 296.4 MB, free: 41.22 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.000329/0.2185, allocations: 177.6 kB / 296.6 MB, free: 41.15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002205/0.2207, allocations: 1.398 MB / 298 MB, free: 40.71 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-05/0.2207, allocations: 28.66 kB / 298 MB, free: 40.71 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001389/0.2221, allocations: 1.167 MB / 299.2 MB, free: 40.19 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/0.2237, allocations: 0.5933 MB / 299.8 MB, free: 40.14 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02037/0.244, allocations: 4.247 MB / 304 MB, free: 38.39 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001142/0.2452, allocations: 0.5934 MB / 304.6 MB, free: 38.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.00106/0.2462, allocations: 203.6 kB / 304.8 MB, free: 38.22 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008275/0.2471, allocations: 429 kB / 305.3 MB, free: 38.16 MB / 282.7 MB Notification: Performance of SimCode: time 1.422e-06/0.2471, allocations: 0 / 305.3 MB, free: 38.16 MB / 282.7 MB Notification: Performance of Templates: time 0.04259/0.2897, allocations: 34.86 MB / 340.1 MB, free: 6.477 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.615071287378669]