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.001905/0.001905, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.002034/0.002034, allocations: 166.5 kB / 25.02 MB, free: 8.945 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.588/1.588, allocations: 158.6 MB / 186.8 MB, free: 2.93 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_YD,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",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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|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.724e-06/1.724e-06, allocations: 0 / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.785e-05, allocations: 6.109 kB / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.0125/0.01253, allocations: 8.654 MB / 259 MB, free: 15.12 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006813/0.01934, allocations: 2.988 MB / 262 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009021/0.02025, allocations: 59.56 kB / 262.1 MB, free: 12.06 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001693/0.02194, allocations: 0.6558 MB / 262.7 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002404/0.02434, allocations: 0.9003 MB / 263.6 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000888/0.02523, allocations: 391.4 kB / 264 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004143/0.02937, allocations: 3.205 MB / 267.2 MB, free: 6.895 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002372/0.03175, allocations: 1.261 MB / 268.5 MB, free: 5.57 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003778/0.03552, allocations: 2.039 MB / 270.5 MB, free: 3.527 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00269/0.03821, allocations: 1.504 MB / 272 MB, free: 2.02 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005834/0.0388, allocations: 360 kB / 272.4 MB, free: 1.668 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009202/0.03972, allocations: 459.7 kB / 272.8 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001184/0.0409, allocations: 1.044 MB / 273.9 MB, free: 176 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001642/0.04254, allocations: 1.095 MB / 275 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006375/0.04892, allocations: 4.791 MB / 279.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.04892, allocations: 0 / 279.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.04892, allocations: 0 / 279.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001014/0.04903, allocations: 4 kB / 279.8 MB, free: 10.26 MB / 266.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.007626/0.05665, allocations: 3.19 MB / 282.9 MB, free: 7.023 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.0567, allocations: 11.98 kB / 283 MB, free: 7.012 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.05791, allocations: 0.5185 MB / 283.5 MB, free: 6.492 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003237/0.06114, allocations: 1.63 MB / 285.1 MB, free: 4.824 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/0.06133, allocations: 168.9 kB / 285.3 MB, free: 4.656 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000429/0.06176, allocations: 240.3 kB / 285.5 MB, free: 4.422 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006132/0.06789, allocations: 3.289 MB / 288.8 MB, free: 1.008 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-05/0.06796, allocations: 15.94 kB / 288.8 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002499/0.06821, allocations: 92 kB / 288.9 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001419/0.06835, allocations: 104.4 kB / 289 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005477/0.07383, allocations: 2.734 MB / 291.7 MB, free: 14.05 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01657/0.0904, allocations: 8.689 MB / 300.4 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002669/0.09306, allocations: 1.553 MB / 302 MB, free: 3.555 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002177/0.09524, allocations: 1.12 MB / 303.1 MB, free: 2.438 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002505/0.09549, allocations: 64.84 kB / 303.2 MB, free: 2.375 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.444e-05/0.09555, allocations: 51.56 kB / 303.2 MB, free: 2.316 MB / 282.7 MB Notification: Performance of pre-optimization done (n=126): time 3.237e-06/0.09555, allocations: 0 / 303.2 MB, free: 2.316 MB / 282.7 MB Notification: Performance of matching and sorting (n=142): time 0.0202/0.1157, allocations: 7.747 MB / 311 MB, free: 10.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000329/0.1161, allocations: 68.72 kB / 311 MB, free: 10.44 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002708/0.1188, allocations: 1.541 MB / 312.6 MB, free: 8.891 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002189/0.119, allocations: 49.7 kB / 312.6 MB, free: 8.836 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001195/0.1202, allocations: 1.115 MB / 313.7 MB, free: 7.711 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006785/0.1209, allocations: 0.4919 MB / 314.2 MB, free: 7.215 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006106/0.1215, allocations: 303.4 kB / 314.5 MB, free: 6.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.1217, allocations: 301.1 kB / 314.8 MB, free: 6.613 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001724/0.1234, allocations: 0.9057 MB / 315.7 MB, free: 5.707 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002022/0.1254, allocations: 1.263 MB / 317 MB, free: 4.301 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004158/0.1296, allocations: 2.25 MB / 319.2 MB, free: 1.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.1296, allocations: 4 kB / 319.2 MB, free: 1.906 MB / 298.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.006372/0.1359, allocations: 3.093 MB / 322.3 MB, free: 14.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.801e-05/0.136, allocations: 8 kB / 322.3 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.511e-05/0.136, allocations: 12 kB / 322.3 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002631/0.1386, allocations: 0.9336 MB / 323.3 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.14, allocations: 311.5 kB / 323.6 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01487/0.1549, allocations: 9.472 MB / 333.1 MB, free: 3.738 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/0.1566, allocations: 95.86 kB / 333.2 MB, free: 3.645 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001588/0.1568, allocations: 60 kB / 333.2 MB, free: 3.586 MB / 314.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.001797/0.1586, allocations: 0.8135 MB / 334 MB, free: 2.762 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006082/0.1592, allocations: 234.8 kB / 334.3 MB, free: 2.531 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005683/0.1649, allocations: 2.794 MB / 337 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.1649, allocations: 20 kB / 337.1 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/0.1649, allocations: 8 kB / 337.1 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-05/0.1649, allocations: 11.91 kB / 337.1 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/0.1759, allocations: 5.063 MB / 342.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.1759, allocations: 4 kB / 342.2 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009858/0.1769, allocations: 195.7 kB / 342.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002915/0.1798, allocations: 0.9701 MB / 343.3 MB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/0.1799, allocations: 31.98 kB / 343.3 MB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1317/0.3116, allocations: 10.95 MB / 354.3 MB, free: 100.4 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.3116, allocations: 4.094 kB / 354.3 MB, free: 100.4 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005739/0.3173, allocations: 4.172 MB / 358.5 MB, free: 99.45 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007788/0.3181, allocations: 384.4 kB / 358.9 MB, free: 99.35 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002114/0.3183, allocations: 27.72 kB / 358.9 MB, free: 99.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008665/0.3192, allocations: 85.17 kB / 359 MB, free: 99.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003439/0.3195, allocations: 152.7 kB / 359.1 MB, free: 99.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.875e-05/0.3196, allocations: 42.94 kB / 359.2 MB, free: 99.28 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001201/0.3208, allocations: 1.045 MB / 360.2 MB, free: 98.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3208, allocations: 0 / 360.2 MB, free: 98.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001658/0.3225, allocations: 0.5537 MB / 360.8 MB, free: 98.83 MB / 330.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%), (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.0003663/0.3229, allocations: 191.3 kB / 360.9 MB, free: 98.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003604/0.3265, allocations: 2.755 MB / 363.7 MB, free: 96.95 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3265, allocations: 4 kB / 363.7 MB, free: 96.95 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002411/0.3289, allocations: 1.905 MB / 365.6 MB, free: 95.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/0.3308, allocations: 475.9 kB / 366.1 MB, free: 94.96 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006388/0.3372, allocations: 5.14 MB / 371.2 MB, free: 90.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/0.3384, allocations: 1.448 MB / 372.7 MB, free: 88.67 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001003/0.3394, allocations: 394.2 kB / 373 MB, free: 88.28 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003359/0.3397, allocations: 112.3 kB / 373.1 MB, free: 88.18 MB / 330.7 MB Notification: Performance of SimCode: time 1.423e-06/0.3397, allocations: 0 / 373.1 MB, free: 88.18 MB / 330.7 MB Notification: Performance of Templates: time 0.04237/0.3821, allocations: 32.43 MB / 405.6 MB, free: 55.76 MB / 330.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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: 6.184819650021382]