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.00207/0.00207, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 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.00242/0.00242, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 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.675/1.675, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 63.91 kB / 347.7 MB, free: 9.367 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3034, allocations: 49.16 MB / 396.9 MB, free: 9.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.009329/0.3128, allocations: 8.635 MB / 405.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006132/0.3189, allocations: 2.973 MB / 408.5 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001481/0.3204, allocations: 59.19 kB / 408.5 MB, free: 1.801 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00166/0.322, allocations: 0.6634 MB / 409.2 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00262/0.3246, allocations: 0.8623 MB / 410.1 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.3257, allocations: 393.5 kB / 410.4 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004076/0.3297, allocations: 3.1 MB / 413.5 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002008/0.3317, allocations: 1.249 MB / 414.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002677/0.3344, allocations: 1.411 MB / 416.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003579/0.338, allocations: 1.66 MB / 417.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000705/0.3387, allocations: 362.3 kB / 418.2 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/0.34, allocations: 449.5 kB / 418.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001157/0.3412, allocations: 1.019 MB / 419.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002018/0.3432, allocations: 1.294 MB / 421 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006762/0.35, allocations: 4.763 MB / 425.7 MB, free: 6.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.35, allocations: 0 / 425.7 MB, free: 6.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.35, allocations: 0 / 425.7 MB, free: 6.344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001001/0.3501, allocations: 0 / 425.7 MB, free: 6.344 MB / 334.1 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.007158/0.3572, allocations: 3.213 MB / 428.9 MB, free: 3.082 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.3573, allocations: 15.98 kB / 429 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008633/0.3581, allocations: 335 kB / 429.3 MB, free: 2.738 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00346/0.3616, allocations: 1.591 MB / 430.9 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/0.3618, allocations: 176.7 kB / 431 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003828/0.3622, allocations: 224 kB / 431.3 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005794/0.368, allocations: 3.285 MB / 434.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.758e-05/0.368, allocations: 15.89 kB / 434.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002258/0.3683, allocations: 96 kB / 434.7 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/0.3684, allocations: 100.4 kB / 434.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004911/0.3733, allocations: 2.734 MB / 437.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01546/0.3888, allocations: 8.58 MB / 446.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002569/0.3913, allocations: 1.545 MB / 447.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002091/0.3934, allocations: 1.12 MB / 448.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002361/0.3937, allocations: 44.97 kB / 448.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/0.3937, allocations: 55.47 kB / 448.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=126): time 3.406e-06/0.3937, allocations: 0 / 448.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=142): time 0.01854/0.4122, allocations: 7.708 MB / 456.5 MB, free: 6.977 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.4123, allocations: 64.72 kB / 456.6 MB, free: 6.902 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002468/0.4148, allocations: 1.541 MB / 458.1 MB, free: 5.352 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000114/0.4149, allocations: 49.7 kB / 458.2 MB, free: 5.297 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009581/0.4158, allocations: 1.115 MB / 459.3 MB, free: 4.172 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004565/0.4163, allocations: 0.4958 MB / 459.8 MB, free: 3.672 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005139/0.4168, allocations: 303.5 kB / 460.1 MB, free: 3.367 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.417, allocations: 301.1 kB / 460.4 MB, free: 3.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001552/0.4185, allocations: 0.9134 MB / 461.3 MB, free: 2.156 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001967/0.4205, allocations: 1.259 MB / 462.6 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003599/0.4241, allocations: 2.25 MB / 464.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/0.4241, allocations: 4 kB / 464.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005882/0.43, allocations: 3.022 MB / 467.8 MB, free: 11.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/0.43, allocations: 8 kB / 467.9 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.46e-05/0.43, allocations: 12.44 kB / 467.9 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002263/0.4323, allocations: 0.841 MB / 468.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.4335, allocations: 311.5 kB / 469 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0129/0.4464, allocations: 9.434 MB / 478.4 MB, free: 396 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.4479, allocations: 91.97 kB / 478.5 MB, free: 304 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.4481, allocations: 60 kB / 478.6 MB, free: 244 kB / 382.1 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.4498, allocations: 0.825 MB / 479.4 MB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003926/0.4502, allocations: 182.8 kB / 479.6 MB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00535/0.4556, allocations: 2.814 MB / 482.4 MB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.4556, allocations: 19.92 kB / 482.4 MB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.4556, allocations: 11.98 kB / 482.4 MB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.4556, allocations: 3.984 kB / 482.4 MB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009818/0.4655, allocations: 5.063 MB / 487.5 MB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.4655, allocations: 0 / 487.5 MB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009408/0.4664, allocations: 187.8 kB / 487.7 MB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002407/0.4688, allocations: 0.8938 MB / 488.6 MB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/0.4689, allocations: 35.98 kB / 488.6 MB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01419/0.4831, allocations: 10.93 MB / 499.6 MB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.4831, allocations: 8.047 kB / 499.6 MB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007349/0.4905, allocations: 4.118 MB / 0.4919 GB, free: 6.527 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00134/0.4918, allocations: 382.7 kB / 0.4922 GB, free: 6.152 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002572/0.4921, allocations: 35.98 kB / 0.4923 GB, free: 6.117 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009246/0.493, allocations: 75.91 kB / 0.4923 GB, free: 6.043 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004576/0.4934, allocations: 145 kB / 0.4925 GB, free: 5.898 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.4935, allocations: 43.98 kB / 0.4925 GB, free: 5.855 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001823/0.4954, allocations: 1.044 MB / 0.4935 GB, free: 4.812 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4954, allocations: 0 / 0.4935 GB, free: 4.812 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00226/0.4976, allocations: 0.5624 MB / 0.4941 GB, free: 4.25 MB / 414.1 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.0004685/0.4981, allocations: 191 kB / 0.4943 GB, free: 4.055 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005277/0.5034, allocations: 2.757 MB / 0.497 GB, free: 1.254 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.5034, allocations: 384 / 0.497 GB, free: 1.254 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003372/0.5067, allocations: 1.904 MB / 0.4988 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002221/0.509, allocations: 449.1 kB / 0.4993 GB, free: 14.86 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.5192, allocations: 5.255 MB / 0.5044 GB, free: 9.531 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00197/0.5211, allocations: 1.456 MB / 0.5058 GB, free: 8.035 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001399/0.5225, allocations: 398.1 kB / 0.5062 GB, free: 7.641 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003532/0.5229, allocations: 103.4 kB / 0.5063 GB, free: 7.539 MB / 430.1 MB Notification: Performance of SimCode: time 1.733e-06/0.5229, allocations: 0 / 0.5063 GB, free: 7.539 MB / 430.1 MB Notification: Performance of Templates: time 0.06177/0.5847, allocations: 35.37 MB / 0.5408 GB, free: 4.086 MB / 462.1 MB " [Timeout remaining time 659] 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: 10.90690621547401]