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.0009587/0.0009587, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001079/0.001079, allocations: 167.9 kB / 25.7 MB, free: 8.445 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 0.9523/0.9523, allocations: 158.6 MB / 187.6 MB, free: 2.793 MB / 170.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.563e-06/1.563e-06, allocations: 0 / 251.6 MB, free: 7.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.316e-05, allocations: 2.312 kB / 251.6 MB, free: 7.203 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.007924/0.007947, allocations: 9.538 MB / 261.1 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005298/0.01324, allocations: 3.19 MB / 264.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008668/0.01411, allocations: 63.56 kB / 264.4 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.01535, allocations: 0.6675 MB / 265 MB, free: 9.68 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001717/0.01706, allocations: 0.9042 MB / 265.9 MB, free: 8.77 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006177/0.01768, allocations: 395.4 kB / 266.3 MB, free: 8.383 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002544/0.02023, allocations: 3.205 MB / 269.5 MB, free: 5.164 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.02152, allocations: 1.304 MB / 270.8 MB, free: 3.781 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002558/0.02408, allocations: 2.195 MB / 273 MB, free: 1.582 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001898/0.02597, allocations: 1.559 MB / 274.6 MB, free: 20 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006255/0.0266, allocations: 352 kB / 274.9 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006568/0.02726, allocations: 447.7 kB / 275.4 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006298/0.02789, allocations: 1.013 MB / 276.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001166/0.02905, allocations: 1.099 MB / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002263/0.03132, allocations: 2.597 MB / 280.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.03132, allocations: 0 / 280.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.03132, allocations: 0 / 280.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.904e-05/0.0314, allocations: 0 / 280.1 MB, free: 10.52 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.003303/0.0347, allocations: 2.953 MB / 283 MB, free: 7.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.03474, allocations: 15.98 kB / 283 MB, free: 7.504 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006516/0.03539, allocations: 416.6 kB / 283.5 MB, free: 7.098 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.0367, allocations: 1.06 MB / 284.5 MB, free: 5.984 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.446e-05/0.0368, allocations: 172.9 kB / 284.7 MB, free: 5.812 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/0.03701, allocations: 228.4 kB / 284.9 MB, free: 5.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/0.03891, allocations: 1.807 MB / 286.7 MB, free: 3.656 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.315e-05/0.03895, allocations: 7.891 kB / 286.7 MB, free: 3.648 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/0.03912, allocations: 95.98 kB / 286.8 MB, free: 3.555 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-05/0.0392, allocations: 104.4 kB / 286.9 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.04026, allocations: 0.6901 MB / 287.6 MB, free: 2.719 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006569/0.04683, allocations: 6.197 MB / 293.8 MB, free: 12.28 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008077/0.04764, allocations: 0.7687 MB / 294.6 MB, free: 11.49 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005564/0.0482, allocations: 447.5 kB / 295 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001306/0.04833, allocations: 44.97 kB / 295.1 MB, free: 11.01 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.04836, allocations: 47.56 kB / 295.1 MB, free: 10.96 MB / 282.7 MB Notification: Performance of pre-optimization done (n=126): time 3.206e-06/0.04836, allocations: 0 / 295.1 MB, free: 10.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=142): time 0.006541/0.0549, allocations: 3.49 MB / 298.6 MB, free: 7.422 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.05494, allocations: 68.72 kB / 298.7 MB, free: 7.34 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007911/0.05573, allocations: 1.08 MB / 299.7 MB, free: 6.246 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.207e-05/0.0558, allocations: 49.7 kB / 299.8 MB, free: 6.191 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004011/0.0562, allocations: 0.918 MB / 300.7 MB, free: 5.262 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002762/0.05648, allocations: 499.6 kB / 301.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002984/0.05678, allocations: 279.3 kB / 301.5 MB, free: 4.488 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.345e-05/0.05687, allocations: 301.1 kB / 301.8 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/0.05719, allocations: 198.8 kB / 302 MB, free: 3.996 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004673/0.05766, allocations: 0.5289 MB / 302.5 MB, free: 3.328 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008473/0.0585, allocations: 0.9006 MB / 303.4 MB, free: 2.285 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.05851, allocations: 4 kB / 303.4 MB, free: 2.281 MB / 282.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.001647/0.06016, allocations: 1.159 MB / 304.5 MB, free: 1.094 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.06018, allocations: 8 kB / 304.6 MB, free: 1.086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.0602, allocations: 12.44 kB / 304.6 MB, free: 1.074 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009572/0.06115, allocations: 440.2 kB / 305 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006538/0.06181, allocations: 299.6 kB / 305.3 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004193/0.066, allocations: 5.742 MB / 311 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007494/0.06675, allocations: 51.98 kB / 311.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.736e-05/0.06683, allocations: 44 kB / 311.1 MB, free: 10.22 MB / 298.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.0005148/0.06734, allocations: 212.3 kB / 311.3 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002259/0.06757, allocations: 151.8 kB / 311.5 MB, free: 9.852 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/0.06897, allocations: 1.076 MB / 312.6 MB, free: 8.738 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.06898, allocations: 20 kB / 312.6 MB, free: 8.719 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.06899, allocations: 4 kB / 312.6 MB, free: 8.715 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.069, allocations: 7.984 kB / 312.6 MB, free: 8.707 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003177/0.07218, allocations: 2.44 MB / 315 MB, free: 6.172 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.07218, allocations: 4 kB / 315 MB, free: 6.168 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004797/0.07266, allocations: 191.7 kB / 315.2 MB, free: 5.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001058/0.07372, allocations: 0.5269 MB / 315.7 MB, free: 5.434 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.036e-05/0.0738, allocations: 39.98 kB / 315.8 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004492/0.07829, allocations: 6.921 MB / 322.7 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.0783, allocations: 4 kB / 322.7 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/0.08027, allocations: 1.474 MB / 324.2 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004442/0.08071, allocations: 234.7 kB / 324.4 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.08085, allocations: 31.94 kB / 324.4 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003863/0.08124, allocations: 51.97 kB / 324.5 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002522/0.08149, allocations: 129 kB / 324.6 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.525e-05/0.08154, allocations: 28 kB / 324.6 MB, free: 12.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004981/0.08204, allocations: 0.537 MB / 325.2 MB, free: 11.54 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.08204, allocations: 0 / 325.2 MB, free: 11.54 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001205/0.08325, allocations: 0.543 MB / 325.7 MB, free: 10.99 MB / 314.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.0002805/0.08353, allocations: 180.1 kB / 325.9 MB, free: 10.81 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001602/0.08513, allocations: 1.397 MB / 327.3 MB, free: 9.367 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.331e-05/0.08515, allocations: 20.5 kB / 327.3 MB, free: 9.348 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.08622, allocations: 1.162 MB / 328.5 MB, free: 8.133 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.08724, allocations: 472.9 kB / 328.9 MB, free: 7.684 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005061/0.0923, allocations: 4.07 MB / 333 MB, free: 3.531 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005701/0.09287, allocations: 0.5854 MB / 333.6 MB, free: 2.914 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005169/0.09339, allocations: 198.4 kB / 333.8 MB, free: 2.715 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007202/0.09411, allocations: 443 kB / 334.2 MB, free: 2.277 MB / 314.7 MB Notification: Performance of SimCode: time 1.252e-06/0.09411, allocations: 0 / 334.2 MB, free: 2.277 MB / 314.7 MB Notification: Performance of Templates: time 0.1495/0.2436, allocations: 33.52 MB / 367.7 MB, free: 89.12 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=240 -s gbode -gbm=radauIIA3 -emit_protected -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.7829042123630643]